Resource Limitations and Reservations #4661
QarthO
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would love it if in the UI there was a built in manager to specific resource limits and reservations for services. https://docs.docker.com/reference/compose-file/deploy/#resources
Basically instead of having to manually go into the docker compose file and manually add these limits and reservations they could be sliders on the ui.
Most importantly there should be a reservation for Coolify itself. I cam across an issue where I installed manually installed service using a docker image that created a Java Virtual Machine, which by default allocated 1gb of ram. My machine while it did have more than 1gb of ram, it didnt have that much available due to the other services (including coolify) running on it. This caused the entire machine to basically brick itself. Every other service was timingn out. I was also unable to SSH to the machine. Rebooting didn't fix anything either because coolify just tried to spin up the instance again. I was able to fix it by rescaling the machine to give it more memory, then adjust the service so it didnt use so much memory.
Basically, the entire goal of this feature is to have resource limits and reservations assignments easily available on every service via the ui. Along with having a default reservation for coolify itself. Simply adding a service shouldnt be able to so easily brick the entire machine. If coolify reserved some resources to the OS and to itself this would prevented services from eating into it.
Beta Was this translation helpful? Give feedback.
All reactions