1

I use a Linode server, and have had about a half-dozen domains running on it for the past couple years without issue. It's running Ubuntu 10.04 and Apache.

Today, for about 3 hours, all http requests were refused. I was able to ssh in without issue, and looked at the Apache error log and saw nothing interesting other than scores of 'the mysql server went away' errors.

The system is set up to ping me if the io rate gets very high, which does happen when the Drupal sites do a mysql backup, but that didn't happen today.

I also did a netstat -aon and verified that the listeners for :80 and :8080 were running (Varnish on :80), though some of the instances had TIME_WAIT instead of LISTEN.

A few minutes after rebooting everything was back to normal. What could be the cause of this?

JAyenGreen
  • 111
  • 2

2 Answers2

1

You checked the apache error_log, but not the mysql log. It's highly likely that mysql is what caused this problem. The "the mysql server went away" error should have clued you into this.

Anyway, check your mysql error log, and I'll bet you find something interesting.

In regards to your TCP TIME_WAIT states, that's not unexpected, nor is it anything to be concerned about.

EEAA
  • 109,363
  • 18
  • 175
  • 245
0

Something else to look at is your firewall. If this were to happen again I would run a iptables -L just to make sure a process is not putting a firewall rule in place.

trent
  • 3,114
  • 19
  • 17