Last modified: 2014-07-05 08:17:36 UTC
The console logs on gallium are a bit large. Jenkins knows how to read from them when they are compressed using gzip. Under /var/lib/jenkins/jobs/ we should find any file named "log" which is more than a day old and gzip -9 them.
Change 125991 had a related patch set uploaded by Hashar: contint: compress Jenkins console logs once per day https://gerrit.wikimedia.org/r/125991
Need to think about it, the tree traversal is a bit too long.
Change 125991 abandoned by Hashar: contint: compress Jenkins console logs once per day Reason: Abandoning the change. The find command takes 5 hours to traverse the hierarchy and compress a few files. Meanwhile, that cause high CPU and I/O on the gallium server which has a bunch of interesting side effects such as: Jenkins dieing, jobs timeout etc. Instead of compressing. I will just kill the job history after a few months. https://gerrit.wikimedia.org/r/125991