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

More aggressively remove Docker artifacts on clean #259

Merged
merged 1 commit into from Mar 29, 2024

Conversation

montehurd
Copy link
Collaborator

@montehurd montehurd commented Mar 29, 2024

Should help free up space

Currently the cron runs pixel.js clean, which calls this, at 08:00 daily

Can also manually invoke it on the server to free up space too:

cd /srv/pixel/ && node pixel.js clean

When you run the command above you can also use the following in a separate ssh session to the server to watch the effect on free disk space in the relevant docker folders:

while true; do clear && du -h /var/lib/docker --max-depth=1 | sort -hr; sleep 5; done

https://phabricator.wikimedia.org/T361331#9672202

@montehurd montehurd merged commit 7be9edc into wikimedia:main Mar 29, 2024
1 check passed
@montehurd montehurd deleted the prune-docker-artifacts branch May 4, 2024 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant