From: incognite at centrum dot cz Operating system: FreeBSD 4.8 PHP version: 4.3.1 PHP Bug Type: PostgreSQL related Bug description: memory leak in pg_ping()
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 bug report at http://bugs.php.net/?id=24284&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=24284&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=24284&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24284&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24284&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24284&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24284&r=support Expected behavior: http://bugs.php.net/fix.php?id=24284&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24284&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24284&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24284&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24284&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24284&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24284&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24284&r=gnused