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

XMLWordPrintableJSON

    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      `/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.

              Assignee:
              Benety Goh
              Reporter:
              Alexis Midon
              Votes:
              4 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: