[CentOS] Possibly OT: intermittently long response times when connecting to host

Wed Oct 29 14:13:42 UTC 2008
Johnny Hughes <johnny at centos.org>

David Miller wrote:
> --snip--
>> ----
>> sounds sleepy - perhaps the mysql connections drop after inactivity and
>> then it takes that long to connect
>>
>> You might just want to set up a cron script that does a curl or wget of
>> a standard page every 2 minutes or so just to keep things active.
>>
>> Craig
>>
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
> 
> hmmm.... you may be onto something there, Craig. Since it was the same
> environment (we set up lots of LAMP servers and use a common MySQL
> backend) I gave it the benefit of the doubt when I was initially
> troubleshooting (the connection was there and everything looked sane).
> I'll take another look at that.

Also, take a good look at the logs /var/log/messages and dmesg for hard
drive errors.  Lots of times a bad drive will cause controller bus
resets that happen intermittently ... that can cause a 5-10 second delay
and then things seem to work fine till the next time.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20081029/4497b8e5/attachment-0005.sig>