From: [EMAIL PROTECTED] Operating system: Windows 2000 Pro PHP version: 4.1.0 PHP Bug Type: Performance problem Bug description: memory ressource with socket_read()
Hello I have a script (a bot, so it don't stop) wich connects to a server with socket_read(). It blocking mode it's work perfectly, but not in non-blocking mode : memory used by the function socket_read() seems to doesn't be released by PHP engine after the call. But when I had a sleep(1) just after the call, it's ok. I tried with the Apache's Php module, and directly with the PHP executable. It's the same pb. I know it's an experimental function, but I think it's can help for it's development. -- Edit bug report at http://bugs.php.net/?id=15485&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15485&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15485&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15485&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15485&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15485&r=support Expected behavior: http://bugs.php.net/fix.php?id=15485&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15485&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15485&r=submittedtwice