This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: pthreads leaks handles and threads when threads use sockets


On Saturday, January 29, 2005 at 12:36 PM, Christopher Faylor wrote:
On Fri, Jan 28, 2005 at 09:09:31AM -0800, Mark Pizzolato wrote:
>I've been using clamav's clamd under cygwin and noticed that over time >the
>handle count as viewed with TaskManager seems to grow to arbitrary >values.


This should be fixed in the latest snapshot. Corinna tracked this down to
the offending line of code and I made a change which should fix the behavior.


Thanks for the test case. It helped a lot in tracking this problem down.

Thanks for the fix to the handle leakage. It works for me cleanly now.


Any clue as to why there seems to be some bounded thread leakage (i.e. extra threads are created and persist for each thread in the test case which uses sockets concurrently)? Bounded leakage we can llive with, but I'm still curious.

- Mark Pizzolato


-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]