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

Jason Pyeron jpyeron@pdinc.us
Sun Oct 3 16:25:15 GMT 2021


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?

Can the limit be configured?

$ ps -f | grep mintty | wc -l
42

$ dir /dev/ | grep pty | wc -l
46


CYGWIN_NT-10.0 hostname 3.2.0(0.340/5/3) 2021-03-29 08:42 x86_64 Cygwin

v/r,

Jason Pyeron

--
Jason Pyeron  | Architect
PD Inc        | Certified SBA 8(a)
10 w 24th St  | Certified SBA HUBZone
Baltimore, MD | CAGE Code: 1WVR6
 
.mil: jason.j.pyeron.ctr@mail.mil
.com: jpyeron@pdinc.us
tel : 202-741-9397





More information about the Cygwin mailing list