DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 4BJJ0CGD1030361
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 4BJJ0CGD1030361
Authentication-Results: delorie.com;
	dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=mnESRLQ4
X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8B2E63858C51
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1734634811;
	bh=sVgTdMo6eT50lNkoMj3d55BPIGKadCMfh6EcVxptnhs=;
	h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
	 From;
	b=mnESRLQ4+AicQRq8qNk94yAsYEtNpUpgI62GglkM4UTGuJgbHnrJs0ggIROdp4p5S
	 /lgSerYHxXiHydfuNhqkT3qv3hlqC7m9KjU0TUKWuzxPzWDII338wr1wJhRoSz3Lpr
	 ki3NoMsvQqIk1M8sxD+xQSdIadjg+oDS5+lR88WM=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AE6B33858D26
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org AE6B33858D26
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1734634749; cv=none;
 b=TyHWCZiJg9l/Nu2txMcRV5xXKL/GmVlLrIW6shpehYKbWktDYRXS5CF9OoQLv6EP1H2WgAi/6hKXQCLklNE2ZJadCDLM2Qqh3wC3Zbw4pGhkPk8hhwmSVRWrS1n9zWIYmfsZoFqxB9LNygttXUEBg5zwASNBgmYAakwo+LzJFMQ=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1734634749; c=relaxed/simple;
 bh=CUFo7BFBnI5gzeh7NB1UiBgNLlModUVdt/g7yWEYeik=;
 h=Message-ID:Date:MIME-Version:Subject:To:From:DKIM-Signature;
 b=NEIv05e1usMGj7QUkWAbSZgdn95GCg9mZXXu31KCfWCLiIZmmST1f5JKXdwiS9snE2T/d8mp+tQGjYwnoiZCI196yOwZRhZrkfWFyJ+chfMqPkrX/a93GXFUZ72cE8wbtXyLwSFbGWuBL+3iQgf3X43Ir7wwylF45m3wnVSBt5E=
ARC-Authentication-Results: i=1; server2.sourceware.org
Message-ID: <b9ea7713-b243-4600-a2e4-9dcdc13cc020@SystematicSW.ab.ca>
Date: Thu, 19 Dec 2024 11:59:04 -0700
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: EPYC 144 core machine has issues with Cygwin PID wraparound
Content-Language: en-CA
To: cygwin@cygwin.com
References: <CALXu0Uek3sMfifZnOFTCM+ZXJFo2wYEgDBZFZE++Qnq=iB=RBw@mail.gmail.com>
Organization: Systematic Software
In-Reply-To: <CALXu0Uek3sMfifZnOFTCM+ZXJFo2wYEgDBZFZE++Qnq=iB=RBw@mail.gmail.com>
X-Rspamd-Queue-Id: CA3482002C
X-Rspamd-Server: rspamout05
X-Stat-Signature: 6h8ih1i9fayah3ozt89b6whhf1i41814
X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361
X-Session-ID: U2FsdGVkX19s/aZbIkigNUosrVS/SCj4ecHH2M5z2uI=
X-HE-Tag: 1734634720-347994
X-HE-Meta: U2FsdGVkX1/1A7C9NAzyt6jd9/Jewe8/J1Uh8miVRt2kwojw/diSm11p3IGMreWKXAiRZyUuOGTFjB3gCAjrpvt63ErR+oKzZ38c4w6BnF31o6VUJBKooYyt7KPp17IVeAAlViCxuCyWaLeOSfRfo3eZvwqdC+Radt287L2/p2Jajbo52wU5je3VIoGuATPfgrbpjKzOto730rVZbSZ6Yd4C2qi6qa1vMGRax2j9ESEaz4xq5ecBsxLLgbaB0yCjAg71xo1oQKtZA/33986NERW2MubfDS9ZCgM8jc4O0n7H4/l5OglMGERJ0bcGmmkPdibKrcZ5FX91AJdZULAC6HVxRvwJ4/NF1z+FlFDp5D1oDCIekWgkNQ==
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Brian Inglis via Cygwin <cygwin@cygwin.com>
Reply-To: cygwin@cygwin.com
Cc: Brian Inglis <Brian.Inglis@SystematicSW.ab.ca>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: cygwin-bounces~archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 4BJJ0CGD1030361

On 2024-12-19 09:20, Cedric Blancher via Cygwin wrote:
> Good afternoon!
> 
> We have a new AMD EPYC machine with 144 cores (upgraded from 8 core
> machine) running Windows 10 Enterprise, with a mixture of native Win32
> apps+Cygwin.
> But the Cygwin apps cause trouble, as PID numbers get re-used too
> fast. We churn through ~~6912000 child processes EVERY HOUR, which now
> causes major problems with PID wraparounds in scripts and perl.
> 
> 1. How can I increase the value at which pid-wraparound will happen?
> 2. How can I test for Cygwins max PID value? Cygwin does not have
> /proc/sys/kernel/pid_max

winsup/cygwin/pinfo.cc:create_cygwin_pid() 65535 but defined as int/32
- perhaps possible for 3.6?

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

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

