Skip to content
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

[Bug]: Can not deploy any application, "Minimum memory reservation allowed is 6MB" #5082

Open
alepouna opened this issue Feb 6, 2025 · 1 comment
Labels
🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization.

Comments

@alepouna
Copy link
Contributor

alepouna commented Feb 6, 2025

Error Message and Logs

Whenever I attempt to deploy ANY app or service I get this error:

Image

Steps to Reproduce

  1. Attempt to deploy any service/app

Example Repository URL

No response

Coolify Version

v4.0.0-beta.390

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

No response

Additional Information

Coolify Server: Ubuntu 24.04.1 LTS - Docker 27.0.3
Server that runs the apps: Ubuntu 22.04.3 LTS - Docker 24.0.9

Sorry I can't provide more details, one of my apps crashed from an issue on the code and I haven't been able to re-deploy it or anything else again. I haven't done any changes in my configuration or the servers and I was able to deploy stuff about 3-4 days ago just fine.

I am happy to provide any more information requested.

@alepouna alepouna added 🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization. labels Feb 6, 2025
@alepouna
Copy link
Contributor Author

alepouna commented Feb 6, 2025

This issue is related to memory limitations on the services, I didn't have any limits on my services and the fields here were emtpy, to tease curiosity after the help of iiamloz on Discord, I've set both values to 1g and now services deploy again.

Image

When clearing the values on the UI, it's automatically set to 0, when deploying the service again it shows this error:

Error response from daemon: You should always set the Memory limit when using Memoryswap limit, see usage
Deployment failed. Removing the new version of your application.

A UI limit needs to be added to prevent a value below 6MB in this case from being set, or for this to be handled by Coolify in the backend when starting the service and prevent such crashes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization.
Projects
None yet
Development

No branches or pull requests

1 participant