[hackers] Re: [quark][PATCH] Raise RLIMIT_NPROC only if maxnprocs higher than current limits

2020-08-17 Thread Armin Friedl
Sorry for the spam. My sendmail wasn't set up correctly and went rogue when it started to work. On 8/17/20 10:58 PM, Armin Friedl wrote: > Currently, maxnprocs may actually lower the limit. Especially when using the > default limit of 512, this quickly causes quark's fork() to fail when s

[hackers] [quark][PATCH] Raise RLIMIT_NPROC only if maxnprocs higher than current limits

2020-08-17 Thread Armin Friedl
Currently, maxnprocs may actually lower the limit. Especially when using the default limit of 512, this quickly causes quark's fork() to fail when started with a non-exclusive user. To mitigate this, we respect system defaults and only raise the limit if it is an actual raise. --- main.c | 25

[hackers] [quark][PATCH] Raise RLIMIT_NPROC only if maxnprocs higher than current limits

2020-08-17 Thread Armin Friedl
Currently, maxnprocs may actually lower the limit. Especially when using the default limit of 512, this quickly causes quark's fork() to fail when started with a non-exclusive user. To mitigate this, we respect system defaults and only raise the limit if it is an actual raise. --- main.c | 25

[hackers] [quark][PATCH] Raise RLIMIT_NPROC only if maxnprocs higher than current limits

2020-08-17 Thread Armin Friedl
Currently maxnprocs may actually lower the limit. Especially when using the default limit of 512, this quickly causes quark's fork() to fail when started with a non-exclusive user. To mitigate this, we respect system defaults and only raise the limit if it is an actual raise. --- main.c | 25

[hackers] [quark][PATCH] Raise RLIMIT_NPROC only if maxnprocs higher than current limits

2020-08-17 Thread Armin Friedl
Currently maxnprocs may actually lower the limit. Especially when using the default limit of 512, this quickly causes quark's fork() to fail when started with a non-exclusive user which may easily have a couple hundred process running before even starting quark. To mitigate this, we respect