Re: [systemd-devel] restricting resource of a process within a service

2017-10-24 Thread Lennart Poettering
On Di, 17.10.17 18:21, Armen Baloyan (armen.balo...@daqri.com) wrote: > Hi, > > I need to restrict CPU usage for a process that runs in a service. The > service has over 10 processes running but I need to put restrictions only > on 1 of those processes. As Colin already pointed out, the usual wa

Re: [systemd-devel] restricting resource of a process within a service

2017-10-18 Thread Armen Baloyan
Hi Colin, Thank you for you detailed answer. Best, Armen Armen Baloyan | Linux Engineering Lead On Wed, Oct 18, 2017 at 1:49 AM, Colin Guthrie wrote: > Armen Baloyan wrote on 18/10/17 02:21: > > Hi, > > > > I need to restrict CPU usage for a process that runs in a service. The > > service ha

Re: [systemd-devel] restricting resource of a process within a service

2017-10-18 Thread Colin Guthrie
Armen Baloyan wrote on 18/10/17 02:21: > Hi, > > I need to restrict CPU usage for a process that runs in a service. The > service has over 10 processes running but I need to put restrictions > only on 1 of those processes. > Is it possible to move this process to a separate cgroup or it cannot be

[systemd-devel] restricting resource of a process within a service

2017-10-17 Thread Armen Baloyan
Hi, I need to restrict CPU usage for a process that runs in a service. The service has over 10 processes running but I need to put restrictions only on 1 of those processes. Is it possible to move this process to a separate cgroup or it cannot be removed its service's cgroup? Armen Baloyan | Lin