PHP 4.0 Bug #10092: Socket fgets memory and CPU usage problem

From: Date: Sat, 31 Mar 2001 14:56:39 +0000
Subject: PHP 4.0 Bug #10092: Socket fgets memory and CPU usage problem
Groups: php.dev 
Request: Send a blank email to php-dev+get-50421@lists.php.net to get a copy of this message
From: jakub@icewarp.com Operating system: Windows NT/2000/9X PHP version: 4.0.4pl1 PHP Bug Type: Sockets related Bug description: Socket fgets memory and CPU usage problem When using the fgets function for large data transmission the data transmitted are never freed from memory. When using fgets with files it works fine. The PHP CGI module starts to utilize the CPU to 100% and never ends, stops processing and doesn't exit the fgets function after few read cycles. This happens only on Windows PHP CGI. We tested Apache and that worked fine. Even the previous version of PHP did that. Large data I'm talking about is 8MB and above. -- Edit Bug report at: http://bugs.php.net/?id=10092&edit=1

« previous php.dev (#50421) next »