is there a limit on how many mintty terminals can be open at once?

Takashi Yano takashi.yano@nifty.ne.jp
Sun Oct 3 19:58:17 GMT 2021


On Sun, 3 Oct 2021 12:25:15 -0400
"Jason Pyeron" wrote:
> I got the "Error: Could not fork child process: There are no available terminals (-1)" error.
> 
> Closing N minty terminals allowed me to open exactly N more.
> 
> My google fu is poor, since I cannot seem to find relevant pages.
> 
> What is the limit?

In current cygwin, maximum number of pty is 128.
It is hard coded and not configurable by user.
https://cygwin.com/git/?p=newlib-cygwin.git;a=blob;f=winsup/cygwin/tty.h#l15


-- 
Takashi Yano <takashi.yano@nifty.ne.jp>


More information about the Cygwin mailing list