?
Solved

How many HANDLES is too many?

Posted on 2006-04-27
6
Medium Priority
?
1,209 Views
Last Modified: 2008-01-09
Task manager allows you to see how many handles are in use.
Too many handles can give rise to Virtual memory errors, and eventually lead to crashes.
Where can I find any guidance on what sort of figure should be regarded as a warning level.
I understand there is no fixed value, it clearly depends on your virtual memory settings, but there must be some sort of rough guidance ?
0
Comment
Question by:dcp002
  • 3
  • 3
6 Comments
 
LVL 5

Expert Comment

by:The_IT_Garage
ID: 16579666
Microsoft server tuning guide, containing more than you're looking for but should be useful in some manner:
http://tinyurl.com/rh3sv

I would log the usage (for a week or even a month) and then set the limit at 10% over the max value shown in your logging. if your server is performing fine now then this is the best time to log performance data and then later you can compare results from a "known good" state. You can adjust values as you get alerts that turn out to be simply higher usage, but it would be values set from your specific environment.
0
 
LVL 2

Author Comment

by:dcp002
ID: 16590442
Thanks for suggestions on determining what is "normal" for my system.  The link you give - whilst interesting - all refers to Windows 2003 Network File System.

However, I already have an application with a "handle leak"- i.e. gaining a 2000-3000 handles per day on a Windows 2000 server. The server crashed recently, but I do not know how many handles it had just before it crashed. Whilst the real answer is to get the app fixed (and that is in hand with the software supplier) until that is sorted I am trying to judge how often I need to re-start the offending app. to safely prevent it reaching the (unknown) point where it crashes the server.

0
 
LVL 5

Expert Comment

by:The_IT_Garage
ID: 16591634
Sorry what I should have suggested is using Perfmon, take a look at this (more relevant I promise) link:
http://tinyurl.com/pdmom
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
LVL 2

Author Comment

by:dcp002
ID: 16606680
That gives a good way to monitor how the handles are growing - but I still do not know how many handles is danger level.
Is it  10,000   or    100,000   or 1,000,000 ?
Or is the number of handles on its own meaningless - should I just be monitoring Virtual memory usage ?
0
 
LVL 2

Author Comment

by:dcp002
ID: 16719491
Thanks to The IT Garage for a few useful comments.
However, I do not feel the question has really been answered.
I was looking for a very rough idea of how many handles is danger level - e.g.
10,000 / 100,000 / 1 million / etc.

As no comments for 2 weeks now, I propose to request closure of this question in a few days unless something significant appears.
0
 
LVL 5

Accepted Solution

by:
The_IT_Garage earned 500 total points
ID: 16721135
For Windows NT the maximum is 10,000
http://support.microsoft.com/?kbid=326591

For XP it's 18,000:
"To use this hotfix, you must create or modify the following registry values to specify the number of NT User handles that you want to allow. The maximum number is 18,000. "
http://support.microsoft.com/?kbid=327699&FR=1

Does that help?
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Currently, there is an issue with being able to copy values from an external application to a dropdown list in Project Web Access (PWA).  The standard copy and paste methods don't seem to work properly. Here is a way to accomplish this task to s…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Loops Section Overview
Suggested Courses

750 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question