coolify icon indicating copy to clipboard operation
coolify copied to clipboard

[Bug]: Automated cleanup not running with multiple servers

Open ck-euan opened this issue 1 year ago • 1 comments

Description

I have an automated cleanup threshold of 80% set on all my servers but not all of them run cleanup jobs. The Coolify and Build servers run cleanups fine but not my apps server.

As you can see the storage on my apps server has been slowly creeping up for weeks and today it finally hit max capacity. image

Hover, I just ticked the Force Cleanup Docker Engine option and it freed up around 75% storage.

Minimal Reproduction (if possible, example repository)

N/A

Exception or Error

No response

Version

v4.0.0-beta.323

Cloud?

  • [ ] Yes
  • [X] No

ck-euan avatar Aug 28 '24 10:08 ck-euan

Maybe related to this warning about metrics being disabled.

Screenshot_20240831_164943_Edge.jpg

danielqba avatar Aug 31 '24 20:08 danielqba

What operating system are you using?

peaklabs-dev avatar Sep 27 '24 16:09 peaklabs-dev

I'm using Ubuntu, although this seems to be much better recently storage is getting cleaned up regularly. Not entirely sure but it may have been fixed?

image

ck-euan avatar Oct 02 '24 09:10 ck-euan

The fix was to enable force clenup via an update so now it basically always runs once a day not based on disk usage. I will investigate our methode of checking disk usage and improve it if needed.

peaklabs-dev avatar Oct 03 '24 07:10 peaklabs-dev

I will close this for now as it seems to be working fine. If you have anything you would like to see improved, I am always open to suggestions.

peaklabs-dev avatar Dec 05 '24 13:12 peaklabs-dev