Bug#805498: systemd: Systemd errors in syslog: Failed to set cpu.cfs_{period, quota}_us

Michael Biebl biebl at debian.org
Wed Feb 3 14:23:24 GMT 2016


Am 03.02.2016 um 09:45 schrieb Ralf Jung:
> Hi,
> 
>>> I see the following errors frequently pop up in the syslog:
>>>
>>> Nov 18 18:30:21 bridge systemd[1]: Failed to set cpu.cfs_period_us on /system.slice/systemd-tmpfiles-clean.service: Permission denied
>>> Nov 18 18:30:21 bridge systemd[1]: Failed to set cpu.cfs_quota_us on /system.slice/systemd-tmpfiles-clean.service: Permission denied
>>>
>>> Not sure whether that's a problem... but I probably shouldn't have errors in the log in the default config.
>>>
>>
>> I see that you have docker installed, which might be related [1].
>> If you purge the docker (related) packages, does the problem go away?
>> Afaics, the docker package tries to use kernel features which aren't
>> supported by the Debian kernel in jessie [1].
>>
>>
>> [1] https://github.com/docker/docker/issues/17587
>> [2] https://lists.debian.org/debian-kernel/2015/10/msg00313.html
> 
> The errors started when I installed Docker. I cannot purge Docker, since
> it is running services that users rely on ;-) .
> The error message however do not look Docker-related at all, do they?
> 

Afaics, docker is using one of CPU* resource control features. This
requires a kernel that supports it.
You can either try to convince the kernel maintainers to enable that
support, compile a kernel on your own, or fix docker, to not make use of
that feature in jessie. I don't think there is a lot we can do in
systemd about this.

Michael

[1]
http://www.freedesktop.org/software/systemd/man/systemd.resource-control.html#CPUAccounting=
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20160203/90acf5e1/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list