- Plesk for Linux
Websites can't be reached.
Plesk is not accessible:
CONFIG_TEXT: Gateway error 502
The following entry can be found in
CONFIG_TEXT: Fatal Error Unable to allocate shared memory segment of 134217728 bytes: mmap: Cannot allocate memory (12)
top command shows enough RAM on the server, more than was mentioned in the error entry above.
sw-engine service cannot start:
# service sw-engine start
Starting sw-engine-fpm: Fri Aug 17 20:40:58 2018 (11150): Fatal Error Unable to allocate shared memory segment of 134217728 bytes: mmap: Cannot allocate memory (12)
Container limits checking shows the following:
# cat /proc/user_beancounters | grep shm
shmpages 17604 17604 20480 20480 18
Container limit shmpages is exceeded.
Note: If you have access to the Hardware Node, use the resolution below. If not, contact your provider to increase the limit for you.
1. Login to the Hardware Node via SSH
2. Increase the amount of the corresponding UBC limit for the container to at least 40960:
# vzctl set 10001 --shmpages 40960 --save