TeamCity crashes occasionally

Occasionally TeamCity 9.1.3 server crashes but the process is still running. It means TeamCity is not reachable anymore from a browser.

I have no clue why this happens since it occurs sporadically.

TeamCity runs on Amazon Linux instance (m4large), started with Java 1.8.0_60 and by using MySQL database.

TEAMCITY_SERVER_MEM_OPTS=-Xmx2500m -XX:MaxPermSize=200m -XX:ReservedCodeCacheSize=300m
TEAMCITY_SERVER_OPTS=-Djava.awt.headless=true
TEAMCITY_AGENT_MEM_OPTS=-Xmx1250m -XX:MaxPermSize=100m -XX:ReservedCodeCacheSize=150m

I start also 3 agents when I start TeamCity, which are on the same computer (not ideal, but temporary solution).I must also say that we have thousands of build configurations in TeamCity.

Looking into log files I didn't see why this happens. Maybe there is a known problem or someone has an idea? I will also dig deeper to understand this meanwhile.

2 comments
Comment actions Permalink

Hi Ernesto,

Please locate the slow process using the guideline and send us all the relevant details if the process is a TeamCity one.

0
Comment actions Permalink

If it happens again, I will do that. Now only 1 JUnit test runs at the same time on the machine, this seems to help avoiding it for some reason.

0

Please sign in to leave a comment.