-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
-
support-core:2.71
In the latest versions of the support-core plugin, I detected that when there is a big quantity of agents and there are a lot of logs on these agents, the agent's log folder could take more than 600MB of space. This means the Jenkins master might suffer from performance issues while compressing.
The main issue here is that we are capturing logs in the agents even of those who are 1 year old, which does not make a lot of sense in the troubleshooting.
Given this situation, the support-core should not grab from the agent the log files which are very old
Example of what is happening in a real case for a specific agent.
2.0M jenkins-slave.0.err.log 2.0M jenkins-slave.1.err.log 2.0M jenkins-slave.2.err.log 2.0M jenkins-slave.3.err.log 2.0M jenkins-slave.4.err.log 2.0M jenkins-slave.5.err.log 2.0M jenkins-slave.6.err.log 2.0M jenkins-slave.7.err.log 1.2M jenkins-slave.err.log 884K jenkins-slave.out.log