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

mongod hangs on shutdown

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.4.9
    • None
    • None
    • 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.

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: