Teamcity keeps cancelling builds when it loses connection to agent

Completed

We are using TeamCity to run some performance tests. Some of these cause 100% load on the sever for possibly hours.  So the agent loses connection every so often depending on the length of the test.

 

Right now it keeps telling me

```

Canceled:

Build agent is disconnected for 64 minutes
```
 
And I can't find  away to increase this timeout.  The timeout for the build itself is already set to 0.  How do I increase  the timeout for agent communications?
 
Thanks,
Tamar
2 comments
Comment actions Permalink

Hi Tamar,

You can increase the timeout by adding the below parameters to agents' buildAgent.properties files for the agents that run builds in question:

teamcity.agent.dead.threshold.secs=N
teamcity.agent.inactive.threshold.secs=N
0
Comment actions Permalink

Hi Mikhail,

Awesome, thanks! 

I will modify those.

Thanks again,

Tamar

0

Please sign in to leave a comment.