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

mongod hangs on shutdown

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.4.9
    • Component/s: None
    • Labels:
      None
    • Environment:
    • Linux
    • Hide

      Not sure what caused this. Happened after few hours of starting the service.

      Show
      Not sure what caused this. Happened after few hours of starting the service.

      After executing $sudo service mongod stop the stop process got stuck.

      The last line in mongod.log says:
      Mon Feb 3 14:59:33.237 [signalProcessingThread] got signal 15 (Terminated), will terminate after current cmd ends

      The process is not responding to kill command (not kill -9).
      Mongo client tool is able to connect but is not responding to any input. The connection is logged in the log file.

      $mongod -f /etc/mongod.conf --shutdown gets stuck too and nothing good is happening.

      netstat shows that it's listening on tcp/27017 and tcp/28017.

      Eventually executed $kill -9 and started the service with no problem.
      Stopped it again cleanly.

            Assignee:
            thomas.rueckstiess@mongodb.com Thomas Rueckstiess
            Reporter:
            yevk Yev
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: