-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
Wings issue with cgroups on Debian Bullseye #3016
Comments
This comment has been minimized.
This comment has been minimized.
Thats weird, its running on bare metal. |
Set the memory limit to 0 and not -1 Please note I'm on my phone and can't read the whole error properly yet. |
First of all, thanks for that excellent bug report, those are rare unfortunately. This doesn't seem to be caused by memory limit, but by storage limits. I'd assume in this case it's the
|
Thank you, I know the fustrations of people not giving enough data, and then you need figure it out somehow... :P Anyways that out of the way, Yeah that is something we also realized, my friend did some experimentations, he executed the docker container manually
This booted up the docker image fine without any problems. but the wings service has no idea / control over it. He also found out that, No longer exists. he tried to echo 10000 to it which failed. But what did exist was:
But i'm not sure if that is the same for Block IO Proportion. |
More experiments: my friend executed this,
This fails as well. the output is:
|
Going to close this because it isn't specifically an issue with Pterodactyl, but if you find a solution and let us know here we can look into adding it to the documentation to help people out in the future. Absolute worst case we can just disable block IO on Debian 11 I guess. |
For now we compiled a custom version where we removed That is working fine for us. However, This is probably not the best way to do this, for us this is fine because we're only hosting a minecraft server for friends. and for hosting companies that probably do make use of Block IO Proportion is a bad idea. I think maybe adding a flag to wings as a workaround? or that it does automatically. |
This sounds specific to deb 11 and them disabling a feature that worked before. |
For a proper fix pterodactyl/wings requires support for cgroups v2. I guess cgroups v1 will be removed in the long term. Until pterodactyl has support for v2 you can use this workaround: You have to downgrade your os to cgroup v1 by adding these to /etc/default/grub parameter GRUB_CMDLINE_LINUX: And don't forget update-grub and reboot afterwards editing the file. Source: https://www.debian.org/releases/stable/amd64/release-notes/ch-information.en.html#openstack-cgroups |
Background:
Describe the bug
Kernel Info
php -v
Docker info
I'm having issues with wings. as it will log this into the console on web:
Console output
wings.log output
There is a permission problem as you can see, the wierd thing is that, i have other docker containers running like mariadb and those folders are made:
/sys/fs/cgroup/system.slice/docker-xxxxxxxxxx.scope
and those run fine.I'm not sure if this is a wings issue or a docker issue. I've reinstalled docker, reinstalled wings, but that did not have a effect. even did
docker system prune -a
that also fixed things in the past but nope.I also remove the ram limits and storage limits on a test server on the panel but that did not work either.
Things that catched my attention: in docker info (see above)
it says:
Has this anything to do with the issue i'm having?
The system is running Bare metal. Not running on a VM or any virtualization.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
That the server will boot up.
The text was updated successfully, but these errors were encountered: