File handlers on Windows server 2003


 

hi,

we running windows server 2003 64bit operating system 32bit application(c/c++).

we facing problems when handle huge number of file handlers.

once number of file handlers count grows around 200,000 application starts crashing.

can 1 suggest if there limitation microsoft number of handles open 32bit applications on windows server 2003 64bit operating system , if there other workaround available?

 

one workaround if you're referring open files using function call library accessed can have limitation.  

the hard limitation user handle (i.e. in opening file) 10,000.  

 

 

thanks & regards,

manish

hi manish,

 

according research, program require many nt user handles may stop working when reach approximately 10,000 handles. example, might occur when program tries use many file handles (i.e open file). there hard-coded limit of 10,000 nt user handles. default, the number of handles open 32bit applications 10,000, which designed prevent incorrectly behaving programs allocating many nt user handles.

 

workaround:

 

you can create or modify following registry values specify number of nt user handles want allow.

 

please note: default value of userprocesshandlequota 10,000 (decimal), can increase maximum number 18,000.

 

hklm\software\microsoft\windows nt\currentversion\windows\userprocesshandlequota

 

hklm\software\microsoft\windows nt\currentversion\windows\userpostmessagelimit (reg_dword)

 

for more information, may refer to:

 

maximum nt user handles per process 10,000 in windows xp

http://support.microsoft.com/kb/327699

 

hope helps.


david shen - msft


Windows Server  >  File Services and Storage



Comments

Popular posts from this blog

Error: 0x80073701 when trying to add Print Services Role in Windows 2012 Standard

Disconnecting from a Windows Server 2012 R2 file sharing session on a Windows 7,8,10 machine

Windows 2016 RDS event 1306 Connection Broker Client failed to redirect the user... Error: NULL