We run our build history cleanup process nightly for the past couple of year. We are using TeamCity 7.1.4. We have ample diskspace, but like to keep the server operating at optimal.
The process normally takes between 30 - 40 minutes. Last night the process was still running for 5 hours before we decided to restart services. I have taken a few thread dumps prior to restart (attached).
Please let me know what caused this and how I can prevent it in the future.
Please let me know if any other information is required.