- Plesk for Linux
- Plesk is installed inside a container and shows 502 Bad Gateway error.
On attempt to start 'sw-engine' service manually, the following error appears:
# service sw-engine start
Starting sw-engine-fpm: Fatal Error Unable to allocate shared memory segment of 104857600 bytes:
mmap: Cannot allocate memory (12) [FAILED]
The container has a lack of some UBC resources. For example,
# cat /proc/user_beancounters
Version: 2.5 uid resource held maxheld barrier limit failcnt 10001:
shmpages 17604 17604 20480 20480 18
Click on a section to expand
- Connect to the hardware node via SSH
- Increase the amount of the corresponding UBC limit for the container to at least 40960:
# vzctl set 10001 --shmpages 40960 --save
Note: If there is no access to the Hardware Node, contact service provider to increase the limit.