Re: [systemd-devel] RFC: Setting TasksMax= by default

2015-11-13 Thread Filipe Brandenburger
On Fri, Nov 13, 2015 at 10:55 AM, Lennart Poettering wrote: >> I accidentally pushed this directly >> into master unfortunately. Sorry for that! Was supposed to become a >> PR, but I was on the wrong branch. > > So, actually I was too dumb to use git, and thus git saved me from > actually making t

Re: [systemd-devel] RFC: Setting TasksMax= by default

2015-11-13 Thread Lennart Poettering
On Fri, 13.11.15 19:49, Lennart Poettering ([email protected]) wrote: > On Fri, 13.11.15 14:49, Lennart Poettering ([email protected]) wrote: > > > Heya! > > > > So, I am tempted to make the following changes to systemd, and was > > wondering about opinions about it: > > [...] > > >

Re: [systemd-devel] RFC: Setting TasksMax= by default

2015-11-13 Thread Lennart Poettering
On Fri, 13.11.15 14:49, Lennart Poettering ([email protected]) wrote: > Heya! > > So, I am tempted to make the following changes to systemd, and was > wondering about opinions about it: [...] > Of course, it also has potential to break some services, but I think > defaults like 1K and 8K a

Re: [systemd-devel] RFC: Setting TasksMax= by default

2015-11-13 Thread Reindl Harald
Am 13.11.2015 um 17:37 schrieb Alexander E. Patrakov: 13.11.2015 20:57, Lennart Poettering wrote: On Fri, 13.11.15 14:27, Zbigniew Jędrzejewski-Szmek ([email protected]) wrote: b) I'd like to introduce DefaultTasksMax= that controls the default value of the per-unit TasksMax= by default,

Re: [systemd-devel] RFC: Setting TasksMax= by default

2015-11-13 Thread Alexander E. Patrakov
13.11.2015 20:57, Lennart Poettering wrote: On Fri, 13.11.15 14:27, Zbigniew Jędrzejewski-Szmek ([email protected]) wrote: b) I'd like to introduce DefaultTasksMax= that controls the default value of the per-unit TasksMax= by default, and would like it to set to some value such 1024 out

Re: [systemd-devel] RFC: Setting TasksMax= by default

2015-11-13 Thread Lennart Poettering
On Fri, 13.11.15 15:36, Jóhann B. Guðmundsson ([email protected]) wrote: > Arguably this should be called system instead of default for system wide > settings where applicable ( you need to keep a clear distinction which > option belongs where and what it affects ) The DefaultTasksMax= value in

Re: [systemd-devel] RFC: Setting TasksMax= by default

2015-11-13 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Nov 13, 2015 at 04:57:07PM +0100, Lennart Poettering wrote: > On Fri, 13.11.15 14:27, Zbigniew Jędrzejewski-Szmek ([email protected]) wrote: > > > > b) I'd like to introduce DefaultTasksMax= that controls the default > > >value of the per-unit TasksMax= by default, and would like it to

Re: [systemd-devel] RFC: Setting TasksMax= by default

2015-11-13 Thread Lennart Poettering
On Fri, 13.11.15 14:27, Zbigniew Jędrzejewski-Szmek ([email protected]) wrote: > > b) I'd like to introduce DefaultTasksMax= that controls the default > >value of the per-unit TasksMax= by default, and would like it to > >set to some value such 1024 out-of-the-box. This will mean that any

Re: [systemd-devel] RFC: Setting TasksMax= by default

2015-11-13 Thread Jóhann B . Guðmundsson
On 11/13/2015 01:49 PM, Lennart Poettering wrote: Heya! So, I am tempted to make the following changes to systemd, and was wondering about opinions about it: a) The first change is rather uncontroversial I presume: I'd like to set DefaultTasksAccounting=yes in system.conf by default. This

Re: [systemd-devel] RFC: Setting TasksMax= by default

2015-11-13 Thread Reindl Harald
Am 13.11.2015 um 15:27 schrieb Zbigniew Jędrzejewski-Szmek: On Fri, Nov 13, 2015 at 02:49:39PM +0100, Lennart Poettering wrote: Heya! b) I'd like to introduce DefaultTasksMax= that controls the default value of the per-unit TasksMax= by default, and would like it to set to some value

Re: [systemd-devel] RFC: Setting TasksMax= by default

2015-11-13 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Nov 13, 2015 at 02:49:39PM +0100, Lennart Poettering wrote: > Heya! > > So, I am tempted to make the following changes to systemd, and was > wondering about opinions about it: > > a) The first change is rather uncontroversial I presume: I'd like to >set DefaultTasksAccounting=yes in s

[systemd-devel] RFC: Setting TasksMax= by default

2015-11-13 Thread Lennart Poettering
Heya! So, I am tempted to make the following changes to systemd, and was wondering about opinions about it: a) The first change is rather uncontroversial I presume: I'd like to set DefaultTasksAccounting=yes in system.conf by default. This means we get accounting of the number of tasks per