note 20307 deleted from function.pg-pconnect by goba
| From: | goba@php.net | Date: | Tue, 09 Apr 2002 12:12:54 +0000 |
| Subject: | note 20307 deleted from function.pg-pconnect by goba | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-29004@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"