> -----Original Message-----
> From: Michal Schmidt [mailto:mschm...@redhat.com] 
> Sent: Friday, November 04, 2011 18:16
> To: Lennart Poettering
> Cc: Michael D. Berger; 'Kay Sievers'; 
> systemd-devel@lists.freedesktop.org
> Subject: Re: [systemd-devel] FW: pthread_create() fails SysV 
> in myDaemon on boot
> 
> On Thu, 3 Nov 2011 23:07:43 +0100 Lennart Poettering wrote:
> > b) Explicitly place your service in the root cgroup of the "cpu"
> > controller, by adding "ControlGroup=cpu:/" to the service file.
> 
> Michael, have you tried option b) ?
> 
> > c) By actually assigning an RT budget to the group, by adding 
> > "ControlGroupAttribute=cpu.rt_runtime_us 500000" to the 
> service file.
> 
> I tried this with httpd.service and it does not work:
> systemd[1]: Failed to write '500000'
> to /sys/fs/cgroup/cpu/system/httpd.service/cpu.rt_runtime_us: 
> Invalid argument
> 
> The problem is that the parent group is not allowed to use any RT
> runtime:
> 
> # cat /sys/fs/cgroup/cpu/system/cpu.rt_runtime_us
> 0
> 
> Michal

[...]

Option b) works.  I assume that b) is better than a).
Would c) be better than b)?  If so, is there anything
I can do about it, or should I perhaps be satisfied
with b)?

Thanks,
Mike.

--
Michael D. Berger
m.d.ber...@ieee.org
http://www.rosemike.net/
  
 

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to