Re: [hackers] [quark][PATCH] Add a config switch to enable/disable NPROC limit

2021-01-25 Thread Laslo Hunhold
On Mon, 25 Jan 2021 14:17:17 +0100 Giulio Picierro wrote: Dear Giulio, > sorry for the late reply, I had a really busy week (course to teach) > :/. don't worry about it! This is a mailing list and meant to be asynchronous. Don't feel pressured to response and rather take your time; it's a pasti

Re: [hackers] [quark][PATCH] Add a config switch to enable/disable NPROC limit

2021-01-25 Thread Giulio Picierro
Dear Laslo, sorry for the late reply, I had a really busy week (course to teach) :/. I didn't have the chance to test the new code, which I will do soon, hopefully. If I understand correctly your solution is to read the rlimit from the system and then update accordingly. Now it seems to me

Re: [hackers] [quark][PATCH] Add a config switch to enable/disable NPROC limit

2021-01-20 Thread Laslo Hunhold
On Mon, 18 Jan 2021 23:03:11 +0100 Laslo Hunhold wrote: > that is a really nice observation! Thanks for pointing it out and your > elaborate explanation. I must honestly admit that I assumed the limit > was per process and not per user. I'll think about how to approach > this the best way; given

Re: [hackers] [quark][PATCH] Add a config switch to enable/disable NPROC limit

2021-01-18 Thread Laslo Hunhold
On Sun, 17 Jan 2021 17:29:53 +0100 Giulio Picierro wrote: Dear Giulio, > Quoting the book "The Linux Programming Interface" from Micheal > Kerrisk: "the RLIMIT_NPROC limit, which places a limit on the number > of processes that can be created, is measured against not just that > process’s consum

[hackers] [quark][PATCH] Add a config switch to enable/disable NPROC limit

2021-01-17 Thread Giulio Picierro
Quoting the book "The Linux Programming Interface" from Micheal Kerrisk: "the RLIMIT_NPROC limit, which places a limit on the number of processes that can be created, is measured against not just that process’s consumption of the corresponding resource, but also against the sum of resources consume