How to improve the response time of our Teamcity server

How to improve the response time of the server.

Our TeamCity server is sometimes slow to show pages.

The message "Loading .." sometimes appear for a minute. How to diagnose or improve the performance of Teamcity server?

Specifications of our server:
HP ProLiant DL360e
CPU: 2 x Intel E5-2440V2
Memory: 32 GB
Disk: 2 x 146 GB SAS

Teamcity is configured to use MySql. Here are the requirements:
[Mysqld]
datadir = / var / lib / mysql
socket = / var / lib /mysql / mysql.sock
user = mysql
slow_query_log = 0
slow_query_log_file = / export / builds1 /
mysqld-slow-queries.log query_cache_size = 24M
thread_cache_size = 32
innodb_buffer_pool_size = 6G
max_connections = 250
innodb_flush_log_at_trx_commit = 2

[Mysqld_safe]
log-error = / var / log / mysqld.log
pid-file = / var / run / mysqld / mysqld.pid

And here is the configuration Teamcity:
Java version: 1.7.0_03
Java VM info: Java HotSpot (TM) 64-bit Server VM
Home Java path: /opt/java/jre1.7.0_03.x64
Server: Apache Tomcat / 7.0.25

JVM arguments: -Djava.util.logging.config.file = / Opt / apache-tomcat / conf / logging.properties -Djava.util.logging.manager org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file = = /opt/apache-tomcat-7.0.25/conf/logging.properties -Xms1g -Xmx4g -XX: MaxPermSize = 750m -Dteamcity_logs = / var / log / tomcat7 / TeamCity -Djava.util.logging.manager = org.apache. juli.ClassLoaderLogManager -Djava.endorsed.dirs = / opt / apache-tomcat-7.0.25 / endorsed -Dcatalina.base = / opt / apache-tomcat -Dcatalina.home = / opt / apache-tomcat-7.0.25 -Djava .io.tmpdir = / opt / apache-tomcat / temp

1 comment
Comment actions Permalink

Hi Sylvain,

Please have a look at the realted section in our documentation. Also please check that you have the appropriate memory settings.
If nothing helps then please collect several server thread dumps and file an issue with detailed description in our issue tracker.

Also this blog post http://blog.jetbrains.com/teamcity/2011/09/improving-performance-and-scalability-of-your-teamcity-server/ could be useful.

0

Please sign in to leave a comment.