delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/12/19/18:43:09

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 4BJNh9Le1146084
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 4BJNh9Le1146084
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=c/iyKpk1
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 505B63858D21
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1734651786;
bh=IyXZAJZfAS5vMp6NbK5E7A+5cUOL487XAKgJh05tCb0=;
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=c/iyKpk1u853N8rgLiVBvkukwmPWkxRtHcjDLAu4gsu+kxYmdvjLoWR531rKiWFOW
339tnATOtRZ4ktSGVt7BjFLjawMHOnU9+fQuiRg2TJAyq8b3Q3w4osuujwBgIUKh1D
qPpD2TxAujKG3aXikNe4C2bhvxuqIzHkYZUQ+Vng=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E91703858D21
Date: Fri, 20 Dec 2024 00:42:41 +0100
To: cygwin AT cygwin DOT com
Subject: Re: EPYC 144 core machine has issues with Cygwin PID wraparound
Message-ID: <Z2SvcYR7gFsh7-62@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CALXu0Uek3sMfifZnOFTCM+ZXJFo2wYEgDBZFZE++Qnq=iB=RBw AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CALXu0Uek3sMfifZnOFTCM+ZXJFo2wYEgDBZFZE++Qnq=iB=RBw@mail.gmail.com>
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
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>
From: Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Corinna Vinschen <corinna-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>

On Dec 19 17: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

We can't make the pid algorithm variable in terms of the max pid, so
I changed the maximum PID to the maximum pid on Linux, i.e., 4194304.

Please check out the next test release cygwin 3.6.0-0.294.g363357c023ce.

Thanks,
Corinna
         


> 
> Ced
> -- 
> Cedric Blancher <cedric DOT blancher AT gmail DOT com>
> [https://plus.google.com/u/0/+CedricBlancher/]
> Institute Pasteur
> 
> -- 
> 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

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