note 20308 added to function.pg-pconnect

From: Date: Fri, 29 Mar 2002 13:00:41 +0000
Subject: note 20308 added to function.pg-pconnect
Groups: php.notes 
Request: Send a blank email to php-notes+get-28374@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*max_connections 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+20308 http://master.php.net/manage/user-notes.php?action=delete+20308 http://master.php.net/manage/user-notes.php?action=reject+20308

« previous php.notes (#28374) next »