AW: Question about PHP FPM and shared memory
| From: | Daniel Betz | Date: | Thu, 01 Dec 2011 09:10:53 +0000 |
| Subject: | AW: Question about PHP FPM and shared memory | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-315913@lists.php.net to get a copy of this message | ||
The answer for the problem is raising the vm.max_map_count via sysctl.
> -----Ursprüngliche Nachricht-----
> Von: Daniel Betz [mailto:dbetz@df.eu]
> Gesendet: Mittwoch, 23. November 2011 15:56
> An: php-general@lists.php.net
> Betreff: [PHP] 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