URGENT!!!!
Hi
Has anyone met the following problem? I have a site using several objects, that connect to a postgresql database through a database class that processes queries and handles the result as an array.
The problem is the following one.
>>
If I use pg_connect after submitting 10-12 queries the database breaks up the connection, with the script
>>
If I use pg_pconnect the database threads are swarming in the memory, and after a time (2-3 minutes of testing), the PHP-PSQL connection becomes unstable (queries that should return data do not return anything, while when running them in psql they return exactly what is expected)... I use Mandrake Linux 7.2, but the same problem arouse on our RedHat 7.0 too...
Hi
Has anyone met the following problem? I have a site using several objects, that connect to a postgresql database through a database class that processes queries and handles the result as an array.
The problem is the following one.
>>
If I use pg_connect after submitting 10-12 queries the database breaks up the connection, with the script
>>
If I use pg_pconnect the database threads are swarming in the memory, and after a time (2-3 minutes of testing), the PHP-PSQL connection becomes unstable (queries that should return data do not return anything, while when running them in psql they return exactly what is expected)... I use Mandrake Linux 7.2, but the same problem arouse on our RedHat 7.0 too...