Re: Graceful shutdown of apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



How can I stop process running with -X option.

Terminate signal (kill -term pid) is not working here(worker mpm) wherase terminate signal works if -X option is used with prefork mpm.

I am able to stop only by kill -9 signal.

Thanks 
Hemant

On Nov 26, 2018 10:10 PM, "William A Rowe Jr" <wrowe@xxxxxxxxxxxxx> wrote:
Graceful shutdown is a WINCH signal.

In -X mode you don't have a parent -> children relationship with httpd, just the worker process. It isn't for normal operation.



On Thu, Nov 22, 2018 at 7:28 AM Hemant Chaudhary <hemantdude.chaudhary@gmail.com> wrote:
Hi,

I am not able to shutdown apache gracefully if I am starting apache in debug mode i:e (./httpd -X) with worker mpm. I am sending kill -term PID to httpd process. wherease the same command is working with prefork. 

How should I stop worker mpm if started in debug mode ?


Thanks
Hemant


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux