Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Handle Count Increasing

Handle Count Increasing

Scheduled Pinned Locked Moved C#
helpcsharpdatabasecomsysadmin
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sameerhanda
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups