delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/10/04/16:05:24

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 492E53858D28
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=yandex.ru
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=yandex.ru
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail;
t=1633377902; bh=NLhQUW35k8zANxt5gYH4j0d0beB2mllY0YVLx8Nvbs8=;
h=In-Reply-To:Subject:To:Message-ID:From:References:Date:Reply-To;
b=PHcsqFvf/7Dx81CZACQL30hn0M0koW73+Hk5a3skeZVoRnHMa/fqewdCVDd+E1OyJ
t2IcaACeemeID/TaLZU+Wz095At0QvfFLo72mO+7gx6iHjPecWnCH6o6PclxzRRMR5
koAp29JZFI2W4vWSwEEiu91NIj9rfqH/56xcK0Hk=
Authentication-Results: sas1-8b1fa7025995.qloud-c.yandex.net;
dkim=pass header.i=@yandex.ru
Date: Mon, 4 Oct 2021 22:51:55 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
X-Mailer: The Bat! (v6.8.8) Home
X-Priority: 3 (Normal)
Message-ID: <1844552584.20211004225155@yandex.ru>
To: Brian Inglis <cygwin AT cygwin DOT com>, cygwin AT cygwin DOT com
Subject: Re: is there a limit on how many mintty terminals can be open at once?
In-Reply-To: <581b2204-da47-b104-4735-20b35af13f9b@SystematicSw.ab.ca>
References: <0f3a01d7b873$3fa7f280$bef7d780$@pdinc.us>
<20211004045817 DOT a9973070199874e420909fcd AT nifty DOT ne DOT jp>
<581b2204-da47-b104-4735-20b35af13f9b AT SystematicSw DOT ab DOT ca>
MIME-Version: 1.0
X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT,
NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

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


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019