[Mono-bugs] [Bug 358987] HttpListener leaking socket file descriptors

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Feb 11 03:21:35 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=358987

User petee at mindtouch.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=358987#c5





--- Comment #5 from Peter Erickson <petee at mindtouch.com>  2008-02-11 01:21:34 MST ---
Just an FYI, in the Server.cs file I forgot to set:

listener.IgnoreWriteExceptions = true;

so the exception is actually happening in Socket.Send() instead of
Socket.Shutdown().  Either way, either the runtime needs to be fixed to match
the MS behavior, or HttpConnection.cs and/or Socket.cs needs to be modified to
properly close sockets.  

We (MindTouch) have a long-running mono process (an HTTP server) that needs to
be constantly  monitored and restarted because mono is leaking socket file
descriptors like a sieve.  :(


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list