Opened 7 years ago

Closed 4 years ago

Last modified 4 years ago

#3668 closed task (fixed)

Jenkins logs need to be rotated

Reported by: robe Owned by: robe
Priority: medium Milestone: Website Management, Bots
Component: website Version: master
Keywords: Cc:

Description (last modified by robe)

The PostGIS website failed because out of disk space.

Same issue as last time I had this.

the /etc/logs/jenkins/jenkins.log had built up to 30GB.

I deleted it and reran chef.

Have to put in logic to either delete the jenkins logs or rotate them. I don't even know what they are for since they are not workspace job logs.

Change History (5)

comment:1 by robe, 7 years ago

Description: modified (diff)

comment:2 by strk, 7 years ago

I've seen /etc/logrotate.d/jenkins exists, maybe just needs to be tweaked to trigger a rotation upon size rather than time (currently set to hold 1 week of logs, not sure if it's doing it)

comment:3 by robe, 7 years ago

I did see other files besides the .log that were gzipped. I forget if those looked weekly or not. Anyway I'll keep an eye on it for next week or two to see if it rotates.

comment:4 by pramsey, 4 years ago

Resolution: fixed
Status: newclosed

comment:5 by robe, 4 years ago

Milestone: Management 2.0Website Management, Bots

Milestone renamed

Note: See TracTickets for help on using tickets.