Closed Bug 1290778 Opened 8 years ago Closed 8 years ago

Cron cleanup for cruncher-aws:/var/www/builds/

Categories

(Infrastructure & Operations Graveyard :: CIDuty, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nthomas, Assigned: aobreja)

References

Details

Attachments

(1 file)

<nagios-releng> Sun 16:49:57 PDT [4001] cruncher-aws.srv.releng.usw2.mozilla.com:disk - / is WARNING: DISK WARNING - free space: / 3662 MB (10% inode=51%)

About 5G in /var/www/html/builds/allthethings/, and 4G in /var/www/html/builds/reportor/.

As a stopgap I've gzipped 30 day old .json files in the allthethings dir.
Might just be a path error on the existing cron:
  find /var/www/html/builds/ -type f -name "allthethings._*" -mtime +90 -delete
Component: Tools → Buildduty
QA Contact: hwine → bugspam.Callek
Assignee: nobody → aobreja
This patch modifies the cronjob in Puppet,it happens that there are no files named "allthethings._*" so nothing was found to be deleted.
Attachment #8777271 - Flags: review?(nthomas)
Comment on attachment 8777271 [details] [diff] [review]
bug1290778_puppet.patch

Slightly different intention from the original cron, but I can't think of a reason to keep the log files forever. r+
Attachment #8777271 - Flags: review?(nthomas) → review+
Attachment #8777271 - Flags: checked-in+
The change is in production: http://hg.mozilla.org/build/puppet/rev/5225c94cc16e
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Product: Release Engineering → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: