Performance impact on IDEA when locally installed agent performes build

I have a locally installed build agent - then build is started my local idea almost hangs, although any other local application is working perfectly. How to avoid such a behaviour?

2 comments
Comment actions Permalink

I am seeing similar performance issues. It doesn't appear to be an issue with contention, eg; the build has completed but viewing the results seems to eat up CPU. The TeamCity java process is spinning at 100%+. I do not recall ever seeing this sort of performance degredation on older versions of TC. After a while the TC process does appear to stop eating so many CPU cycles but the results page finally times out. Log output seems really sparse as well. I am wondering if there is some conflict in the configuration that is preventing some communication. ie; ports, hostname, dns etc. No obvious errors seem to be reported in the logs.

0
Comment actions Permalink

I'll let you know if this helps over the long haul but I did some things which seem to help immediately after restarting.

I have TeamCity installed as a war. In our environment, I wanted to make the TC results available to other people and so I think I had a conflict in the tomcat config/ TC config.

The default hostname in tomcat out of the box is "localhost". In the build agent, I had the teamcity url set to http://<FQDN>:8080/TeamCity/. You can always reach tomcat via FQDN but urls can be re-written to localhost:8080/foo when clicking through links etc. I believe this may have been causing some problems with communication betweent the buildAgent and Tomcat so I edited tomcat's server.xml and changed instances of 'localhost' with the FQDN. Seems to have made a difference.

0

Please sign in to leave a comment.