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

Andrey Repin anrdaemon@yandex.ru
Mon Oct 4 19:51:55 GMT 2021


Greetings, Brian Inglis!

> On 2021-10-03 13:58, Takashi Yano via Cygwin wrote:
>> 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

> Why would you want and how could you use 128 local terminal windows on 
> one system, where could you put them, and be able to read them, unless 
> you are building some kind of control centre, and then wouldn't GUI 
> processes forked under a windows system be more useful?

Won't SSH sessions allocate pty's ?


-- 
With best regards,
Andrey Repin
Monday, October 4, 2021 22:51:31

Sorry for my terrible english...



More information about the Cygwin mailing list