Re: Question about PHP FPM and shared memory
| From: | Nilesh Govindarajan | Date: | Wed, 23 Nov 2011 15:04:21 +0000 |
| Subject: | Re: Question about PHP FPM and shared memory | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-315798@lists.php.net to get a copy of this message | ||
On 11/23/2011 08:25 PM, Daniel Betz wrote:
> Hello list,
>
> I am trying to start PHP FPM with 2600 worker pools with "ondemand" processmanager.
> Each for one domain.
> The problem is now, that the php-fpm quits with:
> ERROR: pid 10937, fpm_shm_alloc(), line 28: unable to allocate 1040 bytes in shared memory:
> Cannot allocate memory: Cannot allocate memory (12)
>
> The server is 32bit :( and has 12GB of ram.
> I have tried to raise the SHMMAX and SHMALL settings via sysctl, but the problem isn't
> gone.
>
> Do you have any hints ?
>
> Thx and greetings,
> Daniel
>
>
>
How much did you set it and were those changes applied?
--
Nilesh Govindarajan
http://nileshgr.com