I am looking for a sysadmin who can solve a problem with httpd processes using more and more memory.
I have a few very small websites that I've recently moved to a new Linux VPS (Virtual Private Server). These websites don't really do that much and get VERY LOW traffic, like less than 300 visitors per day for all of these sites. Just basic PHP/MySQL. There are also 4 Wordpress blogs that are automatically updated a couple of times a day.
I've already disabled lots of code, but it keeps growing over the course of a day.
The httpd child processes get larger and larger, until they're over 15meg each (according to the TOP command). It eventually causes the system to shut down other processes. And eventually the httpd processes all shut down. This happens in less than 2 days.
I've already made the following changes to [login to view URL] but it hasn't helped.
RLimitMEM 4M 8M
RLimitCPU 240
Timeout 60
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 150
MaxRequestsPerChild 100
This job is to identify what the problem is and correct it. This may involve:
- adjusting configuration settings
- finding any leaks in the PHP/MySQL code if that's what's causing it.
- anything else you can think of
I can send diagnostic or configuration information via PMB if you'd like more information before bidding.
I have larger sites that I want to move to this VPS, but I want to get this stable first.