[PHP] Question about PHP FPM and shared memory

2011-11-23 Thread Daniel Betz
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



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Question about PHP FPM and shared memory

2011-11-23 Thread Nilesh Govindarajan
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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php