The answer for the problem is raising the vm.max_map_count via sysctl. > -----Ursprüngliche Nachricht----- > Von: Daniel Betz [mailto:dbetz@xxxxx] > Gesendet: Mittwoch, 23. November 2011 15:56 > An: php-general@xxxxxxxxxxxxx > Betreff: Question about PHP FPM and shared memory > > 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php