public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrey Repin <anrdaemon@yandex.ru>
To: Brian Inglis <cygwin@cygwin.com>, cygwin@cygwin.com
Subject: Re: is there a limit on how many mintty terminals can be open at once?
Date: Mon, 4 Oct 2021 22:51:55 +0300	[thread overview]
Message-ID: <1844552584.20211004225155@yandex.ru> (raw)
In-Reply-To: <581b2204-da47-b104-4735-20b35af13f9b@SystematicSw.ab.ca>

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...


  reply	other threads:[~2021-10-04 20:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-03 16:25 Jason Pyeron
2021-10-03 19:58 ` Takashi Yano
2021-10-04 15:37   ` Brian Inglis
2021-10-04 19:51     ` Andrey Repin [this message]
2021-10-04 21:55       ` Takashi Yano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1844552584.20211004225155@yandex.ru \
    --to=anrdaemon@yandex.ru \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).