Search code examples
windowsfile-descriptorulimit

Windows equivalent of ulimit -n


What is the windows equivalent of the unix command " ulimit -n" ?

Basically, i want to set the maximum fd limit via command prompt.


Solution

  • hmm... I may have been wrong before - setmaxstdio (see here) - but it is per-process, not system wide.

    I may be wrong, but I didn't think there was a limit to set in Windows... but unless you can say how this relates to programming, I expect this answer will be closed soon.

    If you are in the "IT Pro" area (rather than development), then there is a sister-site, serverfault.com - coming soon for this type of question.