#24284 [Opn->Asn]: memory leak in pg_ping()

From: Date: Sun, 22 Jun 2003 16:24:55 +0000
Subject: #24284 [Opn->Asn]: memory leak in pg_ping()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-42337@lists.php.net to get a copy of this message
 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)

« previous php.bugs (#42337) next »