ID: 26249 Updated by: [EMAIL PROTECTED] Reported By: dacol dot jeremy at caramail dot com -Status: Open +Status: Bogus Bug Type: SNMP related Operating System: linux PHP Version: 4.3.3 New Comment:
Please ask support questions elsewhere. There is no bug in PHP in this, the snmp lib leaks itself. Previous Comments: ------------------------------------------------------------------------ [2003-11-20 04:34:55] dacol dot jeremy at caramail dot com i have : rpm files installed openssl-0.9.6-3 and devel one too with files in /usr/include/openssl - installed net-snmp 5.1 configure: ./configure --with-opennssl=/usr make && make install - installed php4-stable of 2003/11/19 06h30 configure --with-snmp=/usr/local --with-openssl=/usr --with-apache=../apache and during the make && make install i have many errors with : "undefined reference to all SSL_..... i don't understand... what i have to do? ------------------------------------------------------------------------ [2003-11-19 18:28:20] [EMAIL PROTECTED] You download that package, configure and install it on your test server to see if the 'bug' still happens with the most recent PHP version. You have to update PHP to make sure you really are using the latest net-snmp version you installed.. ------------------------------------------------------------------------ [2003-11-19 02:42:53] dacol dot jeremy at caramail dot com 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. ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ 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