Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-1460

Log Rotation for Arbiter

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • 3.0.10
    • None
    • Red Hat Enterprise Linux Server release 6.7 (Santiago)

    Description

      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 '

      {print $2}

      '`
      echo ${mongopid}
      #kill -SIGUSR1 ${mongopid}
      kill -10 ${mongopid}

      Can you please provide some recommendation.

      Thank you,
      Sai

      Attachments

        Activity

          People

            gabriel.russell@mongodb.com Gabriel Russell (Inactive)
            skumarua Thiruvaiayru Saikumar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: