Hi Everyone,
I'm running into memory issues with a vps that uses Virtualmin.
Here's the rundown that might help;
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.
Thanks,
M
Howdy,
Hmm, what is the value of the PHP "memory_limit" parameter in your php.ini file for that domain?
Also, what is the output of this command:
cat /proc/user_beancounters
Hi,
I found the issue. It was within the opcache.ini.
I adjust the opcache.memory_consumption line and everything is good now.
Thanks :)