Hi, since a few months already my server seems to run out of memory sometimes "randomly".. All of a sudden my website is not reachable anymore, my Mail server stops delivering mails etc. I can still ssh into the machine and a reboot seems the only way I found so far to get everything back working. I think it is memory related, because if I try to restart Apache followed by MySQL, MySQL gives some error about not having enough memory available. My Website has a couple million visitors per Month and I don't see any pattern of "Oh, it always happens when X happens", sometimes it happens at rush-hour, sometimes in the middle of the night. I am running Debian 7.7 and Apache 2.2.22 using mod_wsgi - but with no big framework (like Django etc) around it - on a Digital Ocean Droplet with 4gb memory. My Apache runs in prefork mode with these settings: Code: <IfModule mpm_prefork_module> StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxClients 200 MaxRequestsPerChild 2000 </IfModule> And it appears, everytime the issue happens this line shows up in my error.log file from Apache: Code: [error] server reached MaxClients setting, consider raising the MaxClients setting Could it be that some of my apache processes are crashed/hanging and so Apache starts spawning new ones until all instances are hanging sooner or later? I assume there's one thing that causes them to hang .. but, I have no idea how to find out what it is Or are my Apache settings totally wrong? In the attached screenshot you can see my htop-output ... there's tons of apache processes, so I didn't include them all. Any tips what I could do? How can I find out what the issue is? I am totally clueless at this point Cheers, Kira PS: As a temporary work around I'd also be happy with an automatic "reboot if this happens".. is there any neat way of doing this?