Question about PHP FPM and shared memory
| From: | Daniel Betz | Date: | Wed, 23 Nov 2011 14:55:53 +0000 |
| Subject: | Question about PHP FPM and shared memory | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-315797@lists.php.net to get a copy of this message | ||
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