Re: Sv: Sv: Limit for number of child processes

2020-08-29 Thread Ken Brown via Cygwin
On 8/28/2020 1:39 PM, Corinna Vinschen wrote: On Aug 28 12:02, Ken Brown via Cygwin wrote: On 8/28/2020 9:36 AM, Corinna Vinschen wrote: As POC, I added a bit of code to maintain a second array, which is only allocated (using HeapAlloc so as not to spill into the child processes) Should there

Re: Sv: Sv: Limit for number of child processes

2020-08-28 Thread Corinna Vinschen
On Aug 28 12:02, Ken Brown via Cygwin wrote: > On 8/28/2020 9:36 AM, Corinna Vinschen wrote: > > As POC, I added a bit of code to maintain a second array, which is only > > allocated (using HeapAlloc so as not to spill into the child processes) > > Should there be a call to HeapFree somewhere, or

Re: Sv: Sv: Limit for number of child processes

2020-08-28 Thread Ken Brown via Cygwin
On 8/28/2020 9:36 AM, Corinna Vinschen wrote: As POC, I added a bit of code to maintain a second array, which is only allocated (using HeapAlloc so as not to spill into the child processes) Should there be a call to HeapFree somewhere, or is there some reason this isn't needed? Ken -- Proble

Sv: Sv: Sv: Limit for number of child processes

2020-08-28 Thread Kristian Ivarsson via Cygwin
Hi all > > > > > > > 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 c

Re: Sv: Sv: Limit for number of child processes

2020-08-28 Thread Corinna Vinschen
On Aug 28 08:29, Ken Brown via Cygwin wrote: > On 8/28/2020 4:38 AM, sten.kristian.ivars...@gmail.com wrote: > > > > > > 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 >

Re: Sv: Sv: Limit for number of child processes

2020-08-28 Thread Ken Brown via Cygwin
On 8/28/2020 4:38 AM, sten.kristian.ivars...@gmail.com wrote: Hi Corinna 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 possi

Sv: Sv: Limit for number of child processes

2020-08-28 Thread Kristian Ivarsson via Cygwin
> > Hi Corinna > > > >>> 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