[JIRA] (JENKINS-62229) Milestone step will slow to a crawl over time

1 view
Skip to first unread message

mark@markrobinson.io (JIRA)

unread,
May 9, 2020, 6:36:02 PM5/9/20
to jenkinsc...@googlegroups.com
Mark Robinson created an issue
 
Jenkins / Bug JENKINS-62229
Milestone step will slow to a crawl over time
Issue Type: Bug Bug
Assignee: Antonio Muñiz
Components: pipeline-milestone-step-plugin
Created: 2020-05-09 22:35
Environment: Jenkins ver. 2.204.5
Pipeline: Milestone Step 1.3.1
Priority: Major Major
Reporter: Mark Robinson

Over time the milestone plugin will gradually slow Jenkins down to a crawl.

This is caused by the org.jenkinsci.plugins.pipeline.milestone.MilestoneStep.xml file.  Each milestone passed and each build finished will require that this file be updated.  In the short term, this is fine, but over time the file will grow quite large.  In my instance, the file reached 55MB.

I have a highly active server which does 1000 jobs/day.  The result was 30MB/sec of disk IO.  This also caused all kinds of blocking issues where jobs where pilling up waiting to update the MilestoneStep.xml file even though the update would be invalidated by the next item in the queue.

The result was it could take a minute to pass a milestone step and 15 minutes to finish a build.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages