100% CPU usage - TeamCity

We're evaluating TeamCity, but the server often hangs at 100% CPU usage.

The OS is CentOS release 6.3 (Final). At first, we were running under Open JDK 6 and Tomcat 6. To try and fix the issue I updated it to Oracle JDK 1.7.0_07 and Tomcat 7.0.30. I also reinstalled TeamCity with TeamCity-7.1.1a.war (was running TeamCity-7.1.war before).

Despite all that, we're still frequently seeing the Tomcat server completely hang, and top go like this:

9628 tomcat    20   0 1378m 564m  16m S 164.7 29.8  85:29.45 java

(I presume CPU goes over 100% because it's being spiked by the hypervisor.)

After restarting tomcat, TeamCity will run again but will eventually freeze. No other applications are running on this server.

I'm enclosing some java thread dumps taken at a few seconds interval while the server was unresponsive. I would appreciate any help you can give.


Please sign in to leave a comment.