ID: 26249
User updated by: dacol dot jeremy at caramail dot com
Reported By: dacol dot jeremy at caramail dot com
-Status: Bogus
+Status: Open
Bug Type: SNMP related
Operating System: linux
PHP Version: 4.3.2
New Comment:
hi,
i don't know how upgrad my php files with the latest version...
i up my old ucd-snmp version to net-snmp 5.1 and my bug still
happened.
please tell me exactly what to do with php4-STABLE-latest.tar.gz....
the command, all things tou can....
i am really sorry but i search on web and i find nothing on it.
Previous Comments:
------------------------------------------------------------------------
[2003-11-17 17:52:10] sniper@php.net
Update your über-old ucd-snmp to the latest net-snmp version.
Then reopen if you still experience leaks which you can trace to happen
in PHP code (not in the net-snmp)
------------------------------------------------------------------------
[2003-11-17 05:40:55] dacol dot jeremy at caramail dot com
hi
i have copied the CVS on my php files and replace it.
but it doesn't work each time i use snmpget function it takes memory
which it doesn't free after a response.
in fact each 100 snmpget use 0.1% of my memory.
it's really the snmpget function which doesn't work.
------------------------------------------------------------------------
[2003-11-17 03:06:59] response dot sorry at notremember dot pass
hi,
thank you for your answer.
can i only copy this on my existing php files or do i have to recompile
all?
in fact what i have to do with this file?
and sorry for the mistake i work with:
apache 1.3.28
php 4.3.3
ucd-snmp 4.2.2
on linux RH 7.1
------------------------------------------------------------------------
[2003-11-14 10:36:16] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2003-11-14 04:58:57] dacol dot jeremy at caramail dot com
Description:
------------
hello,
I use a lot of snmpget (more then 300) each 5 minutes.
snmpget works, it closes session. ( i read all bug reports on snmpget)
but it use memory which it doesn't free.
i look, with the "top" command, the ressources used by my script and
every 5 minutes it uses 0.3% more...
i don't understand why????
maybe a bug in my snmp.c but.....
i use ucd-snmp package with php 4.3.2 and i use my script with php
command.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26249&edit=1