note 7931 added to Persistent database connections

From: Date: Mon, 21 Aug 2000 03:43:33 +0000
Subject: note 7931 added to Persistent database connections
Groups: php.notes 
Request: Send a blank email to php-notes+get-2814@lists.php.net to get a copy of this message
Persistent connections can pile up and make you unable to connect to the server (if you run out of simultaneous connections). To get around this, change your timeout (which is server dependant -- see your SQL server documentation). In MySQL, there is wait_timeout which is by default 12 hours or a day. Set this to a half hour or less if you want those connections to timeout sooner. http://www.php.net/manual/features.persistent-connections.php

« previous php.notes (#2814) next »