Details
-
Bug
-
Resolution: Incomplete
-
Major - P3
-
None
-
None
-
None
-
ALL
Description
One of our secondary mongodb(R-and-W) log file goes too big.
For unknown reasons, the daily rotate log file script failed for a while and we don't know it.
We manually ran
db.adminCommand( { logRotate : 1 } )
|
but it did not work.
How to solve this issue without reboot instance?
Thank you.
KaiJie
=======================================
|
|
PsharedconcertoReplSet:SECONDARY> db.adminCommand( { logRotate : 1 } )
|
|
|
{
|
|
|
"ok" : 0,
|
|
|
"errmsg" : "",
|
|
|
"operationTime" : Timestamp(1536248863, 2),
|
|
|
"$clusterTime" : {
|
|
|
"clusterTime" : Timestamp(1536248863, 2),
|
|
|
"signature" : {
|
|
|
"hash" : BinData(0,"i/UgZdvD4xEeOJMRDtYoRp6CQgQ="),
|
|
|
"keyId" : NumberLong("6558728512000229524")
|
|
|
}
|
|
|
}
|
|
|
}
|