Re: [systemd-devel] [PATCH] systemd-cgroup-limits.patch

2011-07-14 Thread Patrascu, Cristian
I've changed the options, it was indeed confusing, sorry for that. Very good observation, Thank you! From: Kok, Auke-jan H [auke-jan.h@intel.com] Sent: Thursday, July 14, 2011 12:41 AM To: Patrascu, Cristian Cc: lenn...@poettering.net; Zaharia, A

[systemd-devel] [PATCH] systemd-cgroup-limits.patch

2011-07-13 Thread Patrascu, Cristian
Patch adds functionality to apply certain cgroups limits, such as shares of cpu, memory limit and blkio. Unit files of type Service, Mount, Swap and Socket have new options (under corresponding [Service], [Mount], [Swap], [Socket] option group ): - "MemoryHardLimit" accepts int64 value (considere

Re: [systemd-devel] [PATCH] systemd restart patch

2011-07-05 Thread Patrascu, Cristian
t;, u->meta.id, s->restart_current_retry, s->restart_retries); service_enter_restart(s); break; diff --git a/src/service.h b/src/service.h index 55b9513..1d6c42c 100644 --- a/src/service.h +++ b/src/service.h @@ -92,6 +92,9 @@ struct Servi