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

`rpm/init.d-mongod stop` unnecessarily sleeps for 5mn

    XMLWordPrintable

Details

    • ALL

    Description

      `/etc/init.d/mongod stop` uses killproc with a 5mn delay between TERM and KILL.
      In most cases this 5mn sleep is too long and the stop command hangs unnecessarily even though the process exit successfully.

      This ticket is to re-implement the same 5mn delay but with a busy-wait loop that would return as early as possible.

      Attachments

        Activity

          People

            benety.goh@mongodb.com Benety Goh
            amidon@servicesource.com Alexis Midon
            Votes:
            4 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: