Team City Webpage crashes daily

Hi,

The team city website goes down more frequently but just by restarting the service it is back up, the web server and db server are installed on a distributed environment. The Web server has 4 core and 8 gb ram and most of the time the ram utilization is not more that 70 to 80%. i think its quite normal for a server which is having multiple build agents and projects configured. Once after the service restart the Website runs quite normally without any issue.  is there any way to to narrow down to the exact issue ? 

Note: The TC services are configured as 32 on 64 bit machine , Uploaded the below log files and dump files for your reference. this issue is really killing the productivity of 32 teams and 150+ techies, please help us get it fixed at earliest 

File uploaded: 2018-09-04_00.20.59-memoryMonitor.txt
File uploaded: catalina.2018-09-04.log
File uploaded: teamcity-diagnostics.log
File uploaded: teamcity-server.log
File uploaded: teamcity-vcs.log

Thanks 

Vettri 

0
2 comments

Hi Vettri,

 

The logs point out at what the problem is. You are running out of memory, but not on the server, just on the java process. Java processes need to be assigned an amount of memory for the heap on startup that cannot be modified on runtime, and this is what you are running out of. Please follow the recommendations here to increase the amount of memory available for the server: https://confluence.jetbrains.com/display/TCD18/Installing+and+Configuring+the+TeamCity+Server#InstallingandConfiguringtheTeamCityServer-SettingUpMemorysettingsforTeamCityServer

 

Given that you are already at the 1g limit, you will very likely need to move to 64 bit java and increase it to at least 2gb, then monitor usage and increase if needed.

 

Also, for future reference, if you want to send us files, it'd be better if you could archive all of them in a single file (zip, rar, tar.gz, whichever you prefer), and give the file a recognizable name. The upload server has files from many customers so yours might conflict, and it'd make it much easier to keep all of them together.

0
Avatar
Permanently deleted user

Thanks Denis for a Prompt Response, Let me try implementing the solution provided and get back to you on how it goes :) , On the File upload, in future i will make sure its getting zipped with proper naming convection and wish me good luck not to face any more issues with TC 

0

Please sign in to leave a comment.