[Mono-bugs] [Bug 73185][Nor] New - Server-side sockets accumulate while waiting for gc in mod-mono-server

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 1 Mar 2005 19:33:16 -0500 (EST)

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by mlasky@novell.com.


--- shadow/73185	2005-03-01 19:33:16.000000000 -0500
+++ shadow/73185.tmp.23029	2005-03-01 19:33:16.000000000 -0500
@@ -0,0 +1,50 @@
+Bug#: 73185
+Product: Mono: Class Libraries
+Version: 1.1
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: mlasky@novell.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Server-side sockets accumulate while waiting for gc in mod-mono-server
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+In mod-mono-server the server-side sockets would hang around waiting to 
+be reclaimed by the garbage collector and would sometimes hit the process 
+handle limit set by Linux when under heavy load.
+Also we noticed that it is possible if a web service does not raise the 
+Application_EndRequest event that the server-side socket in mod-mono-
+server.exe and consequently the client-side socket in mod_mono would 
+never be freed. 
+Created a patch file that will force both the client and server side 
+socket to close at the end of the request and not wait for gc to happen. 
+We have tested the patch in our environment and the sockets are behaving 
+much better.
+Steps to reproduce the problem:
+Actual Results:
+Expected Results:
+How often does this happen? 
+Additional Information: