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: Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Corinna Vinschen via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Corinna Vinschen Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" 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 > [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