[OpenSIPS-Devel] [OpenSIPS/opensips] 541f80: Red Hat init.d: Adjust stop command to 2.4 shutdow...

Liviu Chircu noreply at github.com
Tue Mar 19 12:18:37 EDT 2019


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 541f808645188b3a571ef239c9e1332fb4747984
      https://github.com/OpenSIPS/opensips/commit/541f808645188b3a571ef239c9e1332fb4747984
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-03-19 (Tue, 19 Mar 2019)

  Changed paths:
    M packaging/redhat_fedora/opensips.init

  Log Message:
  -----------
  Red Hat init.d: Adjust stop command to 2.4 shutdown behavior

The default `killproc` timeout of 3 seconds is too short, causing it to
incorrectly SIGKILL the attendant before it gets a chance to properly
finish the shutdown sequence:
    * broadcast graceful termination jobs
    * wait up to 5 sec
    * forcefully kill all workers
    * commit seppuku

(cherry picked from commit 158f98e93fcd8dfe719d76ed632686e75a74d8cc)





More information about the Devel mailing list