note 16665 rejected from features.persistent-connections by jimw
| From: | jimw@php.net | Date: | Sat, 10 Nov 2001 23:28:08 +0000 |
| Subject: | note 16665 rejected from features.persistent-connections by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-20688@lists.php.net to get a copy of this message | ||
Does anyone know how long the persistant connections are left around?
i see the following process for about 4-5 seconds after using a pconnect() (and then doing nothing
immediately after).
%ps -ax
12548 ? S 0:00 /usr/local/pgsql/bin/postgres localhost http dbname idle
If they are sure to always die within a matter of 5 seconds, I might use them (since the number of
processes is limited). If this is not guaranteed, no way.
I see nothing in the documentation addressing this - only that you can limit the number of pconnects
via the directive "pgsql.max_persistent"