php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #488 Solid connections not closed -> out of TCP/IP resources
Submitted: 1998-06-28 16:23 UTC Modified: 1999-11-28 12:21 UTC
From: tsillan at cc dot hut dot fi Assigned: ssb (profile)
Status: Closed Package: Solid related
PHP Version: 3.0 Final Release OS: Solaris 2.5.1
Private report: No CVE-ID: None
 [1998-06-28 16:23 UTC] tsillan at cc dot hut dot fi
Hi, we installed PHP 3.0 as an Apache 1.2.3 module on Solaris 2.5.1.
At the moment it is useless for us, since Solid Server runs out of TCP/IP resources
all the time and we must restart it. The reason is, that PHP does not close Solid 
connections if the user clicks on another link before PHP has reached the Solid_Close
line of the phtml file. Apparently httpd resets itself and PHP stops executing immediately
when the client browser closes the HTTP connection. We didn't encounter this behaviour
with PHP 2.x on IRIX. Does this have anything to do with the persistent connections?
Here's a portion of our solmsg.out (Solid Server's message file):

26.06 16:00:05 User 'VIINI' connected, user id 1.
...etc...
26.06 16:00:43 User 'VIINI' connected, user id 50. 
26.06 16:00:45 User 'VIINI' connected, user id 51. 
26.06 16:06:07 User 'VIINI' connected, user id 52. 
26.06 16:06:08 User 'VIINI' connected, user id 53. 
26.06 16:06:09 User 'VIINI' connected, user id 54. 
26.06 16:06:11 User 'VIINI' connected, user id 55. 
26.06 16:06:11 SOLID Communication Error 21309: Failed to accept a new client co
nnection, out of TCP/IP resources
26.06 16:06:11 SOLID Communication Error 21309: Failed to accept a new client co
nnection, out of TCP/IP resources
26.06 16:06:11 SOLID Communication Error 21309: Failed to accept a new client co
nnection, out of TCP/IP resources
26.06 16:06:12 SOLID Communication Error 21309: Failed to accept a new client co
nnection, out of TCP/IP resources
26.06 16:06:12 SOLID Communication Error 21309: Failed to accept a new client co
nnection, out of TCP/IP resources


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-28 12:21 UTC] kara at cvs dot php dot net
Should be solved
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Jan 29 11:01:24 2020 UTC