M
MartijnL
Guest
I'm having memory issues with Plesk 9.5.4 in a Virtuozzo container (can't find version) on Ubuntu (Linux 2.6.18-028stab070.14).
It's a small virtual server with 256MB soft limit on memory and 512 hard limit.
The server is hosting 5 sites (4 CMSMS based, 1 Wordpress based) with low traffic.
Wordpress requires >32MB memory in php.ini in order to run the backend, so I've set it to memory_limit=40M.
By default, Plesk is configured to run upto 10 instances of Apache (from maxclients setting in /etc/apache2/apache2.conf) and with each eventually using some 40MB, I'm quickly running out of memory.
The simplest solution seems to be to just limit the number of instances to 4 or 5; traffic is low enough on these sites that 4 is probably still more than it needs, but after a few hours of googling, I still haven't figured out how to change it. Plenty of ideas on how to do it with centos, but /etc/httpd doesn't exist on Ubuntu, nor can I find an swtune.conf file.
Possibly there are other optimizations, like somehow configuring Apache to release memory after a certain period of inactivity or otherwise?
I'm thankful for any answer.
kind regards,
Martijn
It's a small virtual server with 256MB soft limit on memory and 512 hard limit.
The server is hosting 5 sites (4 CMSMS based, 1 Wordpress based) with low traffic.
Wordpress requires >32MB memory in php.ini in order to run the backend, so I've set it to memory_limit=40M.
By default, Plesk is configured to run upto 10 instances of Apache (from maxclients setting in /etc/apache2/apache2.conf) and with each eventually using some 40MB, I'm quickly running out of memory.
The simplest solution seems to be to just limit the number of instances to 4 or 5; traffic is low enough on these sites that 4 is probably still more than it needs, but after a few hours of googling, I still haven't figured out how to change it. Plenty of ideas on how to do it with centos, but /etc/httpd doesn't exist on Ubuntu, nor can I find an swtune.conf file.
Possibly there are other optimizations, like somehow configuring Apache to release memory after a certain period of inactivity or otherwise?
I'm thankful for any answer.
kind regards,
Martijn