|
From: Stephan M. <sm...@gm...> - 2005-04-20 11:41:00
|
Hi List, I'm using valgrind a lot to fix memleaks and achieved remarkable results, so thanks a lot! However, I'm wondering if I could use valgrind to track lost file descriptors. I've got a demon in thread mode here which is, thanks to valgrind, now virtually free of memleaks but it still 'leaks' file desriptors. After a certain time (not predictable yet but still more than a day) it runs out of and must be restarted. Obviously there are resources (sockets?) allocated or files opened and not properly closed after the threads have finished their (rather short and distinct) tasks. Can I track those with valgrind? Greetings... Stephan |