Re: apache and MSHUTDOWN
| From: | Antony Dovgal | Date: | Tue, 18 Mar 2008 08:48:01 +0000 |
| Subject: | Re: apache and MSHUTDOWN | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-36187@lists.php.net to get a copy of this message | ||
On 03/17/2008 10:43 PM, ati wrote:
> hi,
>
> what is the correct behavior, if apache killing _idle_ child processes
> in an environment where:
> apache prefork_mpm
> php loaded as apache module
> php loads a module with extension=xy.so
>
> should be the msshutdown function called for each httpd child or only
> once if the whole httpd server shuts down?
Since Apache children are separate processes, they have their own shutdown
sequences and MSHUTDOWN is called for each child (which is pretty easy to check, btw).
--
Wbr,
Antony Dovgal