Re: apc improvements
| From: | Rasmus Lerdorf | Date: | Mon, 13 Jun 2005 14:39:29 +0000 |
| Subject: | Re: apc improvements | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-2466@lists.php.net to get a copy of this message | ||
Thomas Seifert wrote:
> On Sat, 11 Jun 2005 00:26:38 -0700, Rasmus Lerdorf wrote:
>
>
>>garana@uolsinectis.com.ar wrote:
>>
>>
>>>indeed. My problem is not forking. The number of running processes,
>>>and context-switches, and kernel-mode-cpu-usage grows when I enable APC.
>>>I can't reproduce the problem right now (I'm off the office). Let me
>>>try this in a testbench and provide readprofile's output, to see where
>>>are all those kernel-mode cpu is going.
>>
>>If your MaxClients were fixed and you prefork that many processes and
>>never kill any, nor fork new ones, then the number of processes can't
>>increase, period. You obviously don't have your server configured like
>>that.
>
>
> Uhm, not sure if I'm on the wrong track but he is talking about
> *running* processes. The same number of processes could have been spawned
> but many are probably sleeping with the smaller number of *running*
> processes.
That may be true. Still doesn't match what I see on my systems. I'd be
curious to see how the picture changes running it non-SMP.
-Rasmus