Apache suddenly reaching max connections
Posted on 2012-04-12
I have an apache server serving one website, Moodle. Just today it started reaching MAxCLients according to the error log
[Thu Apr 12 14:52:27 2012] server reached MaxClients setting, consider raising the MaxClients setting
This happened at 1:15 as well, restarted the server, and then just happened again.
The conf file lists MaxCleints at 256
# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# ServerLimit: maximum value for MaxClients for the lifetime of the server
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process serves
I'm not sure why this is suddenly happening with no change in use or audience. Is just raising the MaxClients an option? Is there somewhere that shows how many connections were being made and where they were coming from within apache, or is that something I would need some other software for?