Compress log files
Logs are starting to take up a lot of space:
[root@hydra:~]# du /nix/var/log/nix/drvs/ 352415032 /nix/var/log/nix/drvs/
We could just bzip them. Then the Hydra log view has to see that /nix/var/log/nix/drvs/.bz2 exists and decompress it on the fly.
We can also delete old logs but there is some value in keeping them.

Issue Log
I've freed about 60 GB by deleting the 300 largest log files ( On a related note, the build machines also accumulate a lot of log files: These are totally unnecessary so we can just delete them. Maybe Nix should have an option to turn off logging, which build-remote.pl could then use on remote machines.rm $(ls -rS /nix/var/log/nix/drvs/ | tail -n 300)), mostly OpenOffice and WebDSL logs.
[root@stan:~]# du -h /nix/var/log/nix/drvs/
279G /nix/var/log/nix/drvs/
Log in to post comments

