[Bug 3063] emule exposes socket/file handle leak

Wine Bugs wine-bugs at winehq.org
Sat Nov 4 12:03:38 CST 2006


http://bugs.winehq.org/show_bug.cgi?id=3063





------- Additional Comments From speed47 at speed47.net  2006-04-11 12:03 -------
I wrapped emule using a shell script, which was logging each 30 seconds the
number of leaked handles left by emule.exe, which is basically given by :

lsof -nc emule.exe | grep "identify protocol" | wc -l

Here is an example of a matching line :

emule.exe 15308 speed 277u sock 0,5 56127 can't identify protocol

The leaked handles are always sockets. I've attached two graphs that show the
number of leaked handles growing with time. The graph stops where emule stopped
working, complaining that too many files were open, and wine flooding the
console with :

fixme:winsock:NtStatusToWSAError Status code c000011f converted to DOS error code 4

118877 lines like the one above where logged before my wrapper detected the
problem and killed emule, and as it checked each 30 seconds for messages like
the one above, we can tell that we had at least ~4.000 messages per second being
printed to the console.

The second graph is a zoom of the first one, just to show that sometimes, the
number of leaked handles does go down a bit. We know have to find out why.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list