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:
excuse me but do you read all the comments.... the bug is: when i use a lot of snmpget (the PHP function ), the memory used grow but never fall. it use 0.1% each 100 snmpget (the PHP function ), and it is a lot when you want that your script run "at vitaem". and i explain when i use the system function of PHP with snmpget, like in my last comment, PHP use 2% and snmpget use 1%. so i think it is a PHP problem... and one more time could you explian me what to do with the http://snaps.php.net/php4-STABLE-latest.tar.gz file please. Previous Comments: ------------------------------------------------------------------------ [2003-11-18 15:11:12] [EMAIL PROTECTED] PHP uses memory, there's no bug here. (0.7% is nothing) ------------------------------------------------------------------------ [2003-11-18 09:58:16] dacol dot jeremy at caramail dot com i test a script with: while(true) { system("snmpget....."); } and see with "top" command the memory used : 0.7% all time. it doesn't depend on the number of snmpget so i think it's a php problem. ------------------------------------------------------------------------ [2003-11-18 06:58:02] dacol dot jeremy at caramail dot com 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. ------------------------------------------------------------------------ [2003-11-17 17:52:10] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/26249 -- Edit this bug report at http://bugs.php.net/?id=26249&edit=1