I’m running into memory issues with a vps that uses Virtualmin.
Here’s the rundown that might help;
- on a openvz vps
- sites use Nginx and PHP-FPM on Ubuntu
- was using swap but not anymore
- checked all php.ini’s related to account
This is the error I’m getting;
Fatal Error Unable to allocate shared memory segment of 536870912 bytes: mmap: Cannot allocate memory (12)
and the email related to the error;
Cron <root@#####> [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime)
I’ve made the same changes to other vps’s that also use Ubuntu/Nginx/PHP-FPM but no not use Virtualmin and those ones have not produced these errors.
I’ve tired reducing the memory on just about everything I could think of (.conf files, ini files, etc)
Any help, suggestions or guidance would be apprenticed.