on master help sign in
mention remove-old-stack-work-libs.hs for diskspace clean
58e6d38Jens Petersen
CURATORS.md+4−3
@@ -333,14 +333,15 @@ early and hopefully the nightlies will be timely.
333
333
334LTS minor bumps typically are run on Sundays.
334LTS minor bumps typically are run on Sundays.
335
335
336−### Website sync debugging (and other out of disk space errors)
336+### Diskspace errors (and website sync debugging)
337
337
338* You can detect the problem by running `df`. If you see that `/` is out of space, we have a problem
338* You can detect the problem by running `df`. If you see that `/` is out of space, we have a problem
339* If you see that `/var/stackage/` is out of space, you can:
339* If you see that `/var/stackage/` is out of space, you can:
340+ * run `./stackage/etc/diskspace/remove-old-stack-work-libs.hs` in `/var/stackage/stackage/automated/work/*/unpack-dir/.stack-work/install/x86_64-linux/*/*/` (hopefully sufficient)
341+
342+ optionally (not recommended?):
340 * `rm -r /var/stackage/stackage/automated/work/lts*/unpack-dir/unpacked/`
343 * `rm -r /var/stackage/stackage/automated/work/lts*/unpack-dir/unpacked/`
341 * `rm -r /var/stackage/stackage/automated/work/nightly/unpack-dir/unpacked/`
344 * `rm -r /var/stackage/stackage/automated/work/nightly/unpack-dir/unpacked/`
342−* (outdated) There are many temp files inside `/home/ubuntu/stackage-server-cron` that can be cleared out occasionally
343−* (outdated) You can then manually run `/home/ubuntu/stackage-server-cron.sh`, or wait for the cron job to do it
344
345
345### Wiping the cache
346### Wiping the cache
346
347