-
Notifications
You must be signed in to change notification settings - Fork 14
scala-ci.typesafe.com/artifactory is full? PR validation jobs are giving 413 errors #732
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
Comments
iirc, last time it happened we dealt with this by zeroing out https://scala-ci.typesafe.com/artifactory/scala-pr-validation-snapshots/ — or did we not zero it out entirely, but just deleted the oldest builds? I can't remember the PR validation snapshots do have some value even after a PR is merged, since they enable per-commit bisecting of regressions. (in contrast to the mergelies at https://scala-ci.typesafe.com/artifactory/scala-integration/ , which enable coarser-grained bisecting: per PR. the mergelies, we intend to retain indefinitely) |
aha, I found the ticket from the last time this happened: #636 |
recent article (October 1, 2020) with advice: https://jfrog.com/knowledge-base/artifactory-cleanup-best-practices/ |
I went through all the remote repositories and set them to expire cached artifacts after 720 hours (30 days), then I ran "Cleanup Unused Cached Artifacts", but this is unlikely to buy us more than a small amount of time, as https://scala-ci.typesafe.com/artifactory/webapp/#/admin/advanced/storage_summary shows that the lion's share of storage is going to the PR validation snapshots and mergelies |
I'll run my script (#636 (comment)) to delete from pr-validation-snapshots what's older than 2019. |
Seems we already deleted what's older than 2019, and half of 2019 too. So I'm going for |
This didn't help enough, we're still at 85%. I noticed
|
@SethTisue let me know what you think. IMO we can also bump the EBS volume size. |
I've never used scala-release-temp or seen it used, so I have no objection to zeroing that one out.
Can that be done without a lot of rebuilding effort? |
Resizing the EBS is simple, then i'll give the resize2fs command a try |
Currently taking a snapshot of the volume (that's quite slow). |
Resizing worked fine
|
Fixed. 🤞 |
@lrytz I don't remember if it was on a ticket somewhere or in private communication, but you asked if I wanted the behemoths resized to help the community build, and I said yes please — when you have time. what I should have added: lately the most common disk space problem on the behemoths is actually inodes, not raw space. the community build is amazingly inode hungry. is there a way to get more inodes as well as more gigabytes? |
so e.g. at https://scala-ci.typesafe.com/job/scala-2.12.x-validate-main/4276/console:
The text was updated successfully, but these errors were encountered: