-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Debian 6
Jenkins ver. 1.532.2
We had very various build times with Maven builds. It was from 15 to 80 minutes. I started to analyze and found a very High file-IO activity. I used "iotop" to find the process.
Then i attached strace (strace -p <pid>) to the process.
There was a very high activity to the files in the directory /var/lib/jenkins/config-history/**
As log the output of strace is attached.
Now I deactivated the plugin and the build time is stable. At the current state it is not usable for us.
- is blocking
-
JENKINS-22171 Optimize the files structure to reduce the number of files in the system
-
- Open
-
Any build step may "contribute" to configuration files to store the metadata (examples: Maven, Perforce SCM, etc...). BTW, config-history-plugin have to handle such changes
Probably, the performance impact issue may be resolved by moving config-history saving operations to an asynchronous worker. BTW, there is a risk of a history entry loss in such case