note 20307 added to function.pg-pconnect
| From: | raggaflo at libertysurf dot fr | Date: | Fri, 29 Mar 2002 12:58:49 +0000 |
| Subject: | note 20307 added to function.pg-pconnect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-28373@lists.php.net to get a copy of this message | ||
Be careful when using Apache/PHP dynamic module/PostgreSQL :
in httpd.conf (Apache conf) default MaxClients is 150, whereas default PG's max_connections is
32 which is much fewer than 150. You have to set max_connections to at least MaxClients (and
pg's shared_buffers to 2*MaxClients at least) to avoid PG's errors with pg_pconnect like :
"Sorry, too many clients already connected"
--
http://www.php.net/manual/en/function.pg-pconnect.php
http://master.php.net/manage/user-notes.php?action=edit+20307
http://master.php.net/manage/user-notes.php?action=delete+20307
http://master.php.net/manage/user-notes.php?action=reject+20307