Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36187 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86953 invoked from network); 18 Mar 2008 08:48:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Mar 2008 08:48:21 -0000 Authentication-Results: pb1.pair.com header.from=tony@daylessday.org; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tony@daylessday.org; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain daylessday.org designates 89.208.40.236 as permitted sender) X-PHP-List-Original-Sender: tony@daylessday.org X-Host-Fingerprint: 89.208.40.236 mail.daylessday.org Linux 2.6 Received: from [89.208.40.236] ([89.208.40.236:45828] helo=daylessday.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 71/0C-07136-4D18FD74 for ; Tue, 18 Mar 2008 03:48:21 -0500 Received: from [192.168.3.91] (unknown [212.42.62.198]) by daylessday.org (Postfix) with ESMTP id 3498B6400ED; Tue, 18 Mar 2008 11:48:17 +0300 (MSK) Message-ID: <47DF81C1.7060604@daylessday.org> Date: Tue, 18 Mar 2008 11:48:01 +0300 User-Agent: Thunderbird 2.0.0.9 (X11/20071114) MIME-Version: 1.0 To: ati CC: internals@lists.php.net References: <1205783028.5035.26.camel@kukac> In-Reply-To: <1205783028.5035.26.camel@kukac> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] apache and MSHUTDOWN From: tony@daylessday.org (Antony Dovgal) 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