Re: how do i allow more than 2 threads of php to run?
| From: | Jochem Maas | Date: | Tue, 09 Dec 2008 14:38:05 +0000 |
| Subject: | Re: how do i allow more than 2 threads of php to run? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-284361@lists.php.net to get a copy of this message | ||
Rene Veerman schreef:
> Jochem Maas wrote:
>> Rene Veerman schreef:
>>
>>> i'm getting freezes for the 3rd to Nth concurrent request on my
>>> homeserver (got root, on debian4 + apache2).
>>> how can i allow more threads? like 50 or so?
>>>
>>
>> probably need to fix the apache.conf to allow more concurrent child
>> processes.
>>
>>
>
> K, how do i do that?
>
> I looked at the apache2 docs but couldnt find the setting to tweak
>
look for these (these just happen to be the settings for my local dev install):
StartServers 1
MinSpareServers 1
MaxSpareServers 2
MaxClients 16
MaxRequestsPerChild 1000
i'd imagine MaxClients is the one you will need to 'up'
also STW for 'apache prefork MPM'