#23061 [Fbk->Csd]: fockopen resource leaking
| From: | nico at osict dot com | Date: | Sun, 06 Apr 2003 08:11:30 +0000 |
| Subject: | #23061 [Fbk->Csd]: fockopen resource leaking | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-37195@lists.php.net to get a copy of this message | ||
ID: 23061
User updated by: nico at osict dot com
Reported By: nico at osict dot com
-Status: Feedback
+Status: Closed
Bug Type: Sockets related
Operating System: Windows XP
PHP Version: 4.3.1
New Comment:
I tried http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
as
sugested by wez@php.net and have not been able to reproduce the problem
with that version. Thank you for looking into it.
Previous Comments:
------------------------------------------------------------------------
[2003-04-05 07:46:41] wez@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-04-05 05:21:25] nico at osict dot com
When fockopen is used on a non working IP address (e.g. to test if some
server is currently running) it seems to cause resource leaking. Even
if fclose is used properly, and the php page has finished. This
behaviour does not occur with working IP addresses.
This can be verified with windows task manager by looking in the
handles column of apache.exe.
When repeated many times (>10000) Windows XP will collapse because
applications will no longer be able to open IP ports.
I am using the windows binary on http://www.php.net/downloads.php with
Apache/1.3.24.
Nico de Vries (nico@osict.com)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23061&edit=1