Lunarpages Web Hosting Forum

Author Topic: Site times out  (Read 7413 times)

Offline codenameviper

  • Spacescooter Operator
  • *****
  • Posts: 40
Site times out
« on: May 23, 2010, 09: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.


Offline perestrelka

  • Master Jedi
  • *****
  • Posts: 1397
Re: Site times out
« Reply #1 on: May 24, 2010, 12:16:15 AM »

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.
Kind Regards,
Vlad Artamonov

Offline doncht

  • Intergalactic Cowboy
  • *****
  • Posts: 61
Re: Site times out
« Reply #2 on: April 10, 2015, 02:34:15 PM »
Usually, site slowness are just caused by plugins. You can disable those one by one and eventually find the culprit. Good luck here.