How many HANDLES is too many?

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 ?
LVL 2
dcp002Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

The_IT_GarageCommented:
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.
dcp002Author Commented:
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.

The_IT_GarageCommented:
Sorry what I should have suggested is using Perfmon, take a look at this (more relevant I promise) link:
http://tinyurl.com/pdmom
The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

dcp002Author Commented:
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 ?
dcp002Author Commented:
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.
The_IT_GarageCommented:
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?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 2000

From novice to tech pro — start learning today.