Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 21, 2012, 04:01:18 AM

Pages: [1]   Go Down
  Print  
Author Topic: Site times out  (Read 597 times)
codenameviper
Spacescooter Operator
*****
Offline Offline

Posts: 34


« on: May 23, 2010, 10:30:26 PM »

I notice that my site occasionally times during periods of heavy traffic. When its timed out I am unable to use shell access so I cant see whats doing it, but my guess it heavy traffic all at once. I am already on the max dedicated hosting plan and want to avoid upgrading to that mega hosting plan if possible since it costs so much.

What would fix the timing out? Buying more memory? I have opened tickets when the site timed out but by the time they were read the site was up and running and the tech said everything was ok.

thanks
Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1395



« Reply #1 on: May 24, 2010, 01:16:15 AM »

Hi,

Before considering any hardware upgrades, it is advisable to find out what hardware part is the bottleneck for the performance of your site and if it is possible to eliminate  the problem by some kind of  software adjustment. To do this, you would review web server logs and control panel stats for the times when you noticed the server being slow or timing out (if your panel keeps such stats like cPanel). The logs should give you the idea what parts of the site are being accessed when the problem happens.

If your server does not have cPanel, to get the idea what server resources gets maxed out, you would add a cron to run each minute and saving "date" and "top" command results. Something like

date; top -n1 >> /root/usage.log

will keep the results in /root/usage.log file.

If you need a help with reviewing the logs, advise the techs with the times when you noticed the performance issues. Also, they will be able to help with interpreting the "top" command results or your control panel stats to locate the culprit of the server issues.
Logged

Kind Regards,
Vlad Artamonov
Pages: [1]   Go Up
  Print  
 
Jump to: