Hello there, Just recently over the past few days my Joomla! site became extremely slow. I have been trying to see what the problem is but I have no clue. Sometimes I receive Internal Server Errors. Here is the URL for my site: http://www.actionreplaycodes.net/ When you click it on the site it may seem fast, but in about 30 seconds it'll go to 10-20 second loading times. Either that or it'll begin fast. I have searched in my server logs and I found these errors: [Tue Aug 17 17:34:22 2010] [warn] mod_fcgid: read data timeout in 120 seconds [Tue Aug 17 17:34:22 2010] [error] Premature end of script headers: index.php I have no clue what this means, but I think it has something to do with my problem. Please try and help, I have tried my best before coming to ask you guys. I am willing to give somebody a small reward for a solution for your time and effort.
The timeout means that the script is not finishing in the allotted time. When the site is slow, what is does your 'top' command look like? Odds are, something is hogging your system resources and not letting the script complete in a timely manner.
What do you mean my 'top' command? It's 8 AM in the morning EST here, and the site is running smooth as ever. I'm guessing because it's all it's peak time. I've tried deleting my .htaccess file to see if that was the problem but it was still slow.
It looks like an issue related to connection. If your script is calling mysql connection, could this be your mysql is not responding in timely fashion?