mongod process hangs after USR1 signal

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 1.8.1
    • Component/s: None
    • Environment:
    • Linux
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      I do log rotation once per day at night. The cron job is as follows:

      1. cat /etc/cron.d/mongodb
        05 0 * * * root [ -f /var/run/mongodb.pid ] && /bin/kill -USR1 `cat /var/run/mongodb.pid`

      Approximately once per week the mongod process hangs after the log rotation:

      • It renames log files,
      • the new mongodb.log file is empty,
      • it's impossible to connect to the server (it prints the header with version however)
      • the only way to stop it is to send KILL

            Assignee:
            Mathias Stearn
            Reporter:
            Alexander Azarov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: