I'm experiencing a strange problem with my website. If I navigate through links inside the website everything is fine, and pages load fast. If I hit the refresh button on the browser on any page, the page load is slow and it hangs (not at the same moment every refresh), and it keeps loading forever. Despite the spinning reload icon on address bar, firebug does not show any hung connection.
I tried FF/Chrome on MacOSX/Win/Linux and I get the same behaviour, so I suppose is something related to my web server.
Is it possible I made some mistakes on tuning apache settings (such as KeepAlive / MaxClients)? I currently use Apache2 with prefork module, on a dedicated 8 core i7 server with 16GB RAM.
<IfModule mpm_prefork_module> ServerLimit 500 StartServers 40 MinSpareServers 40 MaxSpareServers 100 MaxClients 400 MaxRequestsPerChild 4000 </IfModule>
Timeout 300 KeepAlive On MaxKeepAliveRequests 500 KeepAliveTimeout 4
Is it possible that the problem is completely unrelated to these settings, so I ask you: can you address me on the right place to look or how to perform further tests to understand how to solve it?