public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Limit for number of child processes
@ 2020-08-26 12:00 sten.kristian.ivarsson
  2020-08-26 17:57 ` Corinna Vinschen
  0 siblings, 1 reply; 12+ messages in thread
From: sten.kristian.ivarsson @ 2020-08-26 12:00 UTC (permalink / raw)
  To: cygwin

Dear cygwin folks

It seems like there's a limit of the number of possible child processes
defined to 256 with 'NPROCS' in //winsup/cygwin/child_info.h used in
'cprocs' in //winsup/cygwin/sigproc.cc

256 is quite few possible children in an enterprise environment and perhaps
the limit should be limited by the physical resources or possibly Windows ?

As of now, posix_spawnp sometimes fail with EAGAIN (maybe it should be
ENOMEM ?) if this limit is reached

Would it be possible to somehow make this dynamic and let the operating
system set the limits ?


Best regards,
Kristian


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-08-29 10:01 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-26 12:00 Limit for number of child processes sten.kristian.ivarsson
2020-08-26 17:57 ` Corinna Vinschen
2020-08-27 12:17   ` Sv: " sten.kristian.ivarsson
2020-08-28  1:42     ` Ken Brown
2020-08-28  8:35       ` Corinna Vinschen
2020-08-28  8:38       ` Sv: " sten.kristian.ivarsson
2020-08-28 12:29         ` Ken Brown
2020-08-28 13:36           ` Corinna Vinschen
2020-08-28 14:09             ` Sv: " sten.kristian.ivarsson
2020-08-28 16:02             ` Ken Brown
2020-08-28 17:39               ` Corinna Vinschen
2020-08-29 10:01                 ` Ken Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).