[Ilugc] server load

  • From: rajasuperman@xxxxxxxxx (Raja Subramanian)
  • Date: Wed Jun 18 12:39:39 2008

On Wed, Jun 18, 2008 at 12:18 PM, Deepan Chakravarthy
<codeshepherd@xxxxxxxxx> wrote:

I had enabled slow query tracking.  btw.. I have noticed the following errors 
, they pop up  three to five times in a  day... in a program that is being 
run every three seconds ..

PHP Warning:  mysql_connect(): Lost connection to MySQL server at 'sending 
authentication information', system error: 32 in

This is happening due to heavy DB load.  You may have to tune your
my.cnf file for
higher performance.

Also try using persistent connections in your code if possible.
    http://in2.php.net/manual/en/features.persistent-connections.php

- Raja

Other related posts: