I accidentally seem to have configured a more or less open http proxy with apache2 during my last playing around. Because I use apache2 for various (private) stuff I noticed it relatively fast... after a week when apache2 started to perform horribly slow. So I removed all the proxy stuff again. Problem is: Even after a restart there is nothing you would call performance. Apache takes 15 seconds to deliver a 268 bytes static html page without linked stuff like images and I don't see the problem. I have a few questions I hope you can help me with:
1) Does this lsof -i output for apache2 describe normal behavior? To me it looks like apache2 keeps connections to many RDNS systems. Is that true? (Sorry, no way to paste that here in a readable manner.)
2) Does this access.log actually tell me those IPs try to do proxy requests through my server? Funny thing is they seem to always land in one of my protected vhosts and get 401 unauthorized, so not that much of a problem here.
3) Might this cause performance issues? Currently max connections is at 40 which was sufficient for many years. I understand that it could be problematic while I get those requests. The last messages was 5 hours ago. At the moment the performance is still extremely low.
[Thu Aug 09 01:45:13 2012] [error] server reached MaxClients setting, consider raising the MaxClients setting ... [Thu Aug 09 05:04:35 2012] [error] server reached MaxClients setting, consider raising the MaxClients setting
I have not yet tried raising MaxClients. And I would rather avoid that. Thanks in advance for your time!