Re: [systemd-devel] [PATCH 1/1] RFC: Set the Default OOM Score from configuration file

2013-05-06 Thread Lennart Poettering
On Sun, 05.05.13 18:08, Umut Tezduyar (u...@tezduyar.com) wrote: On Fri, May 3, 2013 at 4:58 PM, Lennart Poettering lenn...@poettering.netwrote: On Sun, 28.04.13 20:37, Umut Tezduyar (u...@tezduyar.com) wrote: Hi, Should DefaultOOMScore= and DefaultLimit***= be really under

Re: [systemd-devel] [PATCH 1/1] RFC: Set the Default OOM Score from configuration file

2013-05-05 Thread Umut Tezduyar
On Fri, May 3, 2013 at 4:58 PM, Lennart Poettering lenn...@poettering.netwrote: On Sun, 28.04.13 20:37, Umut Tezduyar (u...@tezduyar.com) wrote: Hi, Should DefaultOOMScore= and DefaultLimit***= be really under [Manager]? Wouldn't it be better to have an [Exec] section. Or even have

Re: [systemd-devel] [PATCH 1/1] RFC: Set the Default OOM Score from configuration file

2013-05-03 Thread Lennart Poettering
On Sat, 27.04.13 07:49, Sangjung Woo (again4...@gmail.com) wrote: If 'OOMScoreAdjust' option is ommited from unit file, this patch makes the executed process's oom_score_adj as default OOM score in case of explicitly 'DefaultOOMScore' is declared in configuration file. (i.e. system.conf and

Re: [systemd-devel] [PATCH 1/1] RFC: Set the Default OOM Score from configuration file

2013-05-03 Thread Lennart Poettering
On Sun, 28.04.13 20:37, Umut Tezduyar (u...@tezduyar.com) wrote: Hi, Should DefaultOOMScore= and DefaultLimit***= be really under [Manager]? Wouldn't it be better to have an [Exec] section. Or even have [Service], [Mount],.. sections that can give separate configuration per exec unit.

Re: [systemd-devel] [PATCH 1/1] RFC: Set the Default OOM Score from configuration file

2013-05-03 Thread Lennart Poettering
On Fri, 03.05.13 16:49, Lennart Poettering (lenn...@poettering.net) wrote: If the unit file has 'OOMScoreAdjust' option, set the its oom_score_adj as declared value as before. I'd prefer to call this option OOMScoreAdjust= too, i.e. not with the Default prefix, and use the same

Re: [systemd-devel] [PATCH 1/1] RFC: Set the Default OOM Score from configuration file

2013-04-28 Thread Umut Tezduyar
Hi, Should DefaultOOMScore= and DefaultLimit***= be really under [Manager]? Wouldn't it be better to have an [Exec] section. Or even have [Service], [Mount],.. sections that can give separate configuration per exec unit. Other idea would be having both [Manager] and [Service], [Mount], .. where

[systemd-devel] [PATCH 1/1] RFC: Set the Default OOM Score from configuration file

2013-04-27 Thread Sangjung Woo
If 'OOMScoreAdjust' option is ommited from unit file, this patch makes the executed process's oom_score_adj as default OOM score in case of explicitly 'DefaultOOMScore' is declared in configuration file. (i.e. system.conf and user.conf) If the unit file has 'OOMScoreAdjust' option, set the its