note 19758 added to function.pg-pconnect
| From: | etsysx dot i dot hate dot spam at teleline dot es | Date: | Sun, 10 Mar 2002 06:56:00 +0000 |
| Subject: | note 19758 added to function.pg-pconnect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-27571@lists.php.net to get a copy of this message | ||
To setup a high availability server with apache as a static module and postgreSQL, change httpd.conf
and set MaxClients to less than max postgreSQL simultaneous connections (like 32 or 64).
This way pg_pconnect will allways return a valid handle under heavy traffic or under a request flow
attack without wasting resources and without connection problems.
--
http://www.php.net/manual/en/function.pg-pconnect.php
http://master.php.net/manage/user-notes.php?action=edit+19758
http://master.php.net/manage/user-notes.php?action=delete+19758
http://master.php.net/manage/user-notes.php?action=reject+19758