#23061 [Opn->Fbk]: fockopen resource leaking

From: Date: Sat, 05 Apr 2003 13:46:42 +0000
Subject: #23061 [Opn->Fbk]: fockopen resource leaking
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37171@lists.php.net to get a copy of this message
ID: 23061 Updated by: wez@php.net Reported By: nico at osict dot com -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: Windows XP PHP Version: 4.3.1 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#37171) next »