-
Type: Question
-
Resolution: Done
-
Priority: Minor - P4
-
None
-
Affects Version/s: 3.0.10
-
Component/s: None
-
Environment:Red Hat Enterprise Linux Server release 6.7 (Santiago)
Hi,
I am trying to setup a job for log rotation for the Arbiter based on the steps provided in Mongo doc but the kill -SIGUSR1 doesn't seem to work.
Here's what I am trying to do:
mongopid=`ps -fu mongod | grep "mongod -f /etc/mongod.conf" | grep -v grep | awk '
'`
echo ${mongopid}
#kill -SIGUSR1 ${mongopid}
kill -10 ${mongopid}
Can you please provide some recommendation.
Thank you,
Sai