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

Reduce disk usage of stackage server #7

Open
chreekat opened this issue Oct 30, 2024 · 0 comments
Open

Reduce disk usage of stackage server #7

chreekat opened this issue Oct 30, 2024 · 0 comments

Comments

@chreekat
Copy link
Member

Disk usage grows over time for a few reasons:

  • Snapshot curation builds ever more packages
  • Haddock and hoogle generation leaves behind some artifacts
  • stackage-server fetches hoogle databases and doesn't clean them up when it switches to new ones

Historically this didn't matter because (1) it was easy enough to manually clean up after curation and (2) stackage-server ran on ephemeral Kubernetes pods that would just get recycled if they ran out of disk space.

Now that all these processes run on the same server, and we need backups of the server's database, we should start managing the growth of disk usage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant