Re: Possibly OT: intermittently long response times when connecting to host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxx
>> 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.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux