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

Johnny Hughes johnny at centos.org
Wed Oct 29 14:18:30 UTC 2008


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, make sure that this is not set in apache (the default is Off ...
but things like that can take massive amounts of time):

HostnameLookups On

-------------- 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/746c553b/signature.bin


More information about the CentOS mailing list