5158 handles, 300 threads, and 23 processes

This is a discussion on 5158 handles, 300 threads, and 23 processes within the A Brief History of Cprogramming.com forums, part of the Community Boards category; My task manager shows I have 5158 active handles 300 active threads 23 active processes I personally have only the ...

  1. #1
    Registered User Invincible's Avatar
    Join Date
    Feb 2002
    Posts
    210

    5158 handles, 300 threads, and 23 processes

    My task manager shows I have

    5158 active handles
    300 active threads
    23 active processes

    I personally have only the task manager and this board open. The rest belongs to the system and a campus network connection.

    Is this high?
    "The mind, like a parachute, only functions when open."

  2. #2
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    No. Mine has about the same and I am not on any network.

  3. #3
    Registered User Invincible's Avatar
    Join Date
    Feb 2002
    Posts
    210
    Thanks, just checking. I mean, I can count the 23 processes, but 5000 handles? Sheesh, what are they being used for? I've never had the need to use more than 1 handle in a single program. That's something like 200 handles for each process? And 300 threads? For what?
    "The mind, like a parachute, only functions when open."

  4. #4
    Seņor Member
    Join Date
    Jan 2002
    Posts
    561
    That's probably why those Linux freaks b*tch about Windows

  5. #5
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    I have 6365 handles, 345 threads, 32 processes

    What does that mean anyway?
    What is C++?

  6. #6
    Seņor Member
    Join Date
    Jan 2002
    Posts
    561
    That the computer is doing a bunch of crap when it is supposedly idle.

  7. #7
    Registered User Invincible's Avatar
    Join Date
    Feb 2002
    Posts
    210
    Basically, a handle is an ID. A thread is a child process. And a process is ... you should know this stuff V ... is a main program loop.
    "The mind, like a parachute, only functions when open."

  8. #8
    Registered User Invincible's Avatar
    Join Date
    Feb 2002
    Posts
    210

    Thumbs up

    Exactly Tim.
    "The mind, like a parachute, only functions when open."

  9. #9
    Registered User Zeeshan's Avatar
    Join Date
    Oct 2001
    Location
    Munich, Germany
    Posts
    224
    I'm not too sure, but I think that the "handles" represent the available handles on your system. i.e. the maximum number of handles that can be used.

    Similar, to the FILES=30 in your CONFIG.SYS

  10. #10
    Registered User Invincible's Avatar
    Join Date
    Feb 2002
    Posts
    210
    That would be a relief. It would also make more sense... same with the threads you think?
    "The mind, like a parachute, only functions when open."

  11. #11
    Seņor Member
    Join Date
    Jan 2002
    Posts
    561
    No that can't be true because under processes it says 31. I don't think there's a limit like that on processes.

  12. #12
    Evil Member
    Join Date
    Jan 2002
    Posts
    638
    Could be the gajillion or so .dll's what Windoze keeps on hand. Runtime libs, virtual drivers, etc.

  13. #13
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,786
    Originally posted by Invincible
    Basically, a handle is an ID. A thread is a child process. And a process is ... you should know this stuff V ... is a main program loop.
    A process to all intense purposes is a loaded program........

    A thread is a path of execution (Of which a process can have at least 1 or more)

    A handle is an ID for a resource.....some relate to high level stuff such as windows....some to lower level stuff like kernal objects (Files...pipes....even threads and processes!)

    I am not sure but I imagine that many handles might relate to 1 object, but they may be relative to different processes.....so I guess if that's true there would be a fair amount of duplication at any one time....probably that's why there would be so many

  14. #14
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    >> .. you should know this stuff V

    GIVE ME A BREAK! I was half asleep, I got on today and saw some posts I didnt remember making
    What is C++?

  15. #15
    Registered User Invincible's Avatar
    Join Date
    Feb 2002
    Posts
    210
    Lol ... sleep-posting?
    "The mind, like a parachute, only functions when open."

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21