[LRUG] Sites drop off web
Gerhard Lazu
gerhard at lazu.co.uk
Fri Jul 22 03:44:24 PDT 2011
Have a look at sar<http://sebastien.godard.pagesperso-orange.fr/man_sar.html>for
any weird patterns around that time. High iowait will hint to backups
running.
Do a reverse ping every 30s (VPS => pingdom if they support it) and see if
you get any probs around that time. This will rule out connectivity issues.
I had a similar issue in the past, it was down to network connectivity. It
wasn't as regular as yours, which makes me think that it is the backups in
your case.
Seriously though, get yourself a decent VPS provider, there are plenty to
choose from. The extra cost is worth not having hassles such as this one.
Gerhard
On Fri, Jul 22, 2011 at 11:25 AM, Andrew Stewart
<boss at airbladesoftware.com>wrote:
> Hola El Rug,
>
> I have several Rails/Sinatra sites on a couple of RHEL VPSs. Almost every
> day for several months at least, almost all the sites drop off the web for
> 2-4 minutes. I know this because Pingdom notifies me at 4.30am.
>
> As you can imagine, it's annoying.
>
> Initially I thought this was caused by Passenger log rotation but, when I
> looked into it this morning, I realised the times don't match up. Here are
> some details:
>
> - Most sites go down most days.
> - The sites go down at 4.30am and are back up 2-4min later (Pingdom checks
> every minute).
> - The system cron runs its dailies, including logrotate, at 4.02am.
> - My crontab has nothing around 4.30am.
> - There's nothing in /var/log/cron around 4.30am.
> - There's nothing in the httpd error logs around 4.30am.
> - There's nothing in /var/log around 4.30am.
>
> Does anyone have any ideas?
>
> Thanks in advance,
>
> Andy Stewart
>
> -------
> http://airbladesoftware.com
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20110722/88094c12/attachment-0003.html>
More information about the Chat
mailing list