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

mongod hangs on shutdown

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Duplicate
    • Affects Version/s: 2.4.9
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
    • Operating System:
      Linux
    • Steps To Reproduce:
      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

          Issue Links

            Activity

              People

              Assignee:
              thomasr Thomas Rueckstiess
              Reporter:
              yevk Yev
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: