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

Log Rotation for Arbiter

    XMLWordPrintable

    Details

    • Type: Question
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Done
    • Affects Version/s: 3.0.10
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:
      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

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

              Dates

              Created:
              Updated:
              Resolved: