Re: Iplanet and persistent postgresql connection

From: Date: Tue, 31 Oct 2000 02:35:34 +0000
Subject: Re: Iplanet and persistent postgresql connection
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-22834@lists.php.net to get a copy of this message
Perhaps your using pg_pconnect() rather than pg_connect()? The first one creates "persistent" connections that are tied to the Apache child processes and don't die until the child does. You probably want to use pg_connect(). Peter Przem Kowalczyk wrote: > > Hi. > > I've been testing iPlanet Netscape Server. I noticed, that the postgresql > connections don't get closed after the script ends. I've tried to close them > manually with pg_close but it also doesn't seem to work :-(. > > I worked out that with Apache I can set MaxRequestsPerChild to 1 and it > kills all redundant postgresql processes. > > But how can I prevent my site from bailing out on iPlanet? > > (I have to use iPlanet for that project, 'cos my client wants me to do so) > > Przem > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#22834) next »