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