-
Notifications
You must be signed in to change notification settings - Fork 18.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System error in /sys/fs/cgroup/cpu,cpuactt #16256
Comments
that auto response is very useful... are you using a service for that or did you hack something up? (I want to use it for my projects if it is possible to customise it to only respond once to a submitter to avoid spamming people) |
Hi @fommil If you are on Debian Unstable, there is a chance you have just upgraded to systemd 226, which introduces the
I have the same error message as you. |
Downgrading all systemd components to 225 on Debian resolves the issue. Bug #798778 opened against debian sid's systemd package. Long term, docker should handle systemd's new init.scope. 4 days notice is insufficient :-). |
Agreed! Romain
|
You can use fs cgroups if you want, they're much more stable and has more features. |
Alexander, Interesting. That does appear to resolve the issue. Thank you. I have questions.
I see the differences in /sys/fs/cgroup between the two. But the context Again, Thank You. On Sat, Sep 12, 2015 at 11:54 PM, Alexander Morozov <
|
|
@LK4D4 are there changes to be made, or docs to be added w.r.t #16256 (comment)? I don't know the answers to those, but let me know if the documentation should have extra information about that 👍 |
It would be good if this setting was automatically enabled for relevant systems |
@fommil feel free to create a separate issue for that, if you can clearly describe what you think needs to be done (and please add a link to this issue as well, for reference). |
Or libcontainer should handle the fact that with systemd >225 cgroups paths are different? |
Hi, i'm running in the same problem (debian sid) how/whre should I use the option : |
/etc/default
|
I tried .. that's what i got :
|
@epifanio the |
@thaJeztah , thanks! |
btw, it's still an issue, it breaks oom for systemd as well. I'm not sure from where this |
Take a peek at /proc/1/cgroup. In systemd 225 and older, those are in /. Suspicion: The release notes for systemd 226 does not address the why. systemd/init's metrics are easy to track when fenced in a separate cgroup I have not rebooted since enabling memory cgroups and swap accounting, but On Tue, Sep 15, 2015 at 12:42 PM, Alexander Morozov <
|
@cdd-aix funny. Seems like we're messed /proc/self with /proc/1 somehow. |
Seems no such issue exists in Fedora rawhide:
|
|
The issue only seems to manifest when using
|
If I try to
I get the error:
Running ArchLinux on BeagleBone Black rev4. |
On arch, the fd it is looking for exists at It's there, just not under the |
docker
kernel
systemd
|
Note that on Debian testing (with
|
👍 |
@johnjelinek we recently merged a PR to use if as default for docker 1.10; #17704 there's still some discussion on that though. |
hrmm .. I think I spoke too soon:
but then, with this docker-compose.yml:
it fails on the redis spin up:
All the swarm dockers are configured with |
@johnjelinek could that be related to #15159? |
I don't think so -- I didn't unmount anything. The problem existed before I did the |
@johnjelinek hm actually, it looks like #17879, could be related to some API changes w.r.t default values, but not sure |
I manually created this file: |
@thaJeztah: I think you're right. It's likely #17879. |
Just for the sake of completeness since I didn't see it explicitly stated, for recent versions of systemd that use |
Instead of assuming things about systemd's cgroup behavior it could be asked instead:
That should work regardless of systemd version |
@marineam are you still seeing this on docker 1.11.1? We're using runC now for the runtime, and a lot has changed since this was reported |
This code is in runc and unchanged since docker 1.10 but I haven't actually tried docker 1.11 yet. |
I fixed by restart the docker serivce systemctl restart docker |
I'm on Debian Unstable with the docker.io images (debian no longer repackages). This is what happens when I try to run any image:
and indeed, that structure does not exist on my directory
i.e. no
system.slice
.I'm running a very new linux kernel, has the sys directory perhaps changed to the point that docker breaks?
The text was updated successfully, but these errors were encountered: