mongod hangs on shutdown

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Minor - P4
    • None
    • Affects Version/s: 2.4.9
    • Component/s: None
    • 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.
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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 (Inactive)
              Reporter:
              Yev
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: