Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Is there a way to determine and tweak the file handle limit in Windows?

share|improve this question
    
Go on, I'll bite, what version? 98 and below is was the 'files=' statement in config.sys ;) –  Chopper3 Feb 2 '10 at 17:14
    
How about Win XP? –  Steve Feb 2 '10 at 17:15
    
In which case this is a superuser.com question - that said take a look here; blogs.technet.com/markrussinovich/archive/2009/09/29/… –  Chopper3 Feb 2 '10 at 17:19
    
You'd be surprised how many Win98/XP/2000 "servers" are still floating around (Lawyers Never Upgrade :-( ) –  voretaq7 Feb 2 '10 at 17:38

1 Answer 1

up vote 3 down vote accepted

For crusty old DOS and Win16 programs:

Windows 98 and earlier: FILES= statement in config.sys

Windows NT/2000/XP (Probably Vista & 7): FILES= statement in \Windows\System32\config.nt (Possibly also a registry setting?)


For Windows native programs (Win32 API): Shouldn't Apply (Per MSDN, there is no fixed file handles limit on the Win32 API, unless I'm misunderstanding).

If you're hitting the system global (kernel) file handle limit you have bigger issues to address.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.