#24284 [Opn->Asn]: memory leak in pg_ping()
ID: 24284
Updated by: iliaa@php.net
Reported By: incognite at centrum dot cz
-Status: Open
+Status: Assigned
Bug Type: PostgreSQL related
Operating System: FreeBSD 4.8
PHP Version: 4.3.1
-Assigned To:
+Assigned To: iliaa
Previous Comments:
------------------------------------------------------------------------
[2003-06-22 07:29:08] incognite at centrum dot cz
Description:
------------
It appears that calling pg_ping() function repeatly causes a memory
leak of few KB. We have synchronization script between Mysql and
PostgreSQL which is running 24/7.
In a main loop we have pg_ping() that every 5 secs checks the
connection to master PGSql server. Every 5 secs it consumes some memory
and it does not free it back. After commenting the line pg_ping() in
our script, memory leak disappears.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24284&edit=1
Thread (3 messages)