Handle Count Increasing
-
Ok, I have an application that is sitting on a server and listning for requests using a Socket and on port 8221. Well this servers app's sole purpose is to take in what the user wants and run a query based on that incoming requests and parameters. Ok, application seems to be working fine functionally except for a few issues that I am not having any luck trying to fingure out what to do: 1. I fixed memory leaks, the memory seems to be fairly constant between 6 and 25K. But the problem is that the handle count seems to be going up. For example I am looking at the taskman on the server, the mem is at 7568 and the handles are up to 2800+. How or any suggestions on reclaming these handles back or this is a non issue. 2. Second, since this is a communication app it is sitting on the server minding it's own business and all of a sudden sometimes i see it takes up 99% of the cpu WHILE IT HAS NO PENDING CONNECTIONS. Any suggestions as to how I can address these issues. BTW this is one of the best .net blogs i have ever read http://blogs.msdn.com/ricom/archive/2004/12/10/279612.aspx[^ So, my thanks to this guy for learning and helping me track down my memory leaks.