windwos file handles limit

1, modify the registry, the following positions:

HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows NT/CurrentVersion/Windows


image


2, Set

1、GDIProcessHandleQuota
This set number of GDI handle, the default value 2710 (hex) / 10000 (decimal), the value of the allowed range of 256 to 16384, which is adjusted to a value greater than the default 10000. If your system is configured with 2G or more,
Might be set to the maximum allowed 16384 (decimal 10);

2、USERProcessHandleQuota
This setting handle the number of users, the same as the default value 2710 (hex) / 10000 (decimal), the value of the allowable range is from 200 to 18,000, which was adjusted to a value more. Similarly, for a 2GB or more physical memory
System, the user may wish to limit the number of handles directly to 18000 (decimal 10);


3, Note

Modify "GDIProcessHandleQuota" and "USERProcessHandleQuota" value, do not exceed the acceptable limit, otherwise, will cause Windows to not work or run unstable.
On the other hand, even if you adjust it exceeds its allowed limit, after modification if Windows unstable symptoms found it necessary to reduce the corresponding values ​​some, or restore the default values.

Guess you like

Origin www.cnblogs.com/weiyiming007/p/12052752.html