Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-3339

mongod process hangs after USR1 signal

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

      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@mongodb.com Mathias Stearn
            Reporter:
            alaz Alexander Azarov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: