# After a timeout, should svn.exe process still exist?

**URL:** https://www.finalbuilder.com/forums/t/after-a-timeout-should-svn-exe-process-still-exist/1373
**Category:** Discussion
**Created:** [November 10, 2009, 4:59am UTC](https://www.finalbuilder.com/forums/t/after-a-timeout-should-svn-exe-process-still-exist/1373 "2009-11-10T04:59:51Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![nelsonwolf](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/b9e5f3/32.png) [@nelsonwolf](https://www.finalbuilder.com/forums/u/nelsonwolf)
#### Post date: [November 10, 2009, 4:59am UTC](https://www.finalbuilder.com/forums/t/after-a-timeout-should-svn-exe-process-still-exist/1373/1 "2009-11-10T04:59:51Z")

</div>

I've noticed when I use the Server timeout, it doesn't kill the underlying svn.exe process and puts the server in a hung state. &nbsp;I did some testing and found if I give the subversion action a timeout itself, even that leaves the svn.exe process hanging around. &nbsp;Is this as intended, or should it be killing the process?

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [November 10, 2009, 8:40am UTC](https://www.finalbuilder.com/forums/t/after-a-timeout-should-svn-exe-process-still-exist/1373/2 "2009-11-10T08:40:02Z")

</div>

The svn process should be killed after a timeout. I’ll take a look at this.

---

<div class="post-metadata">

### Author: ![nelsonwolf](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/b9e5f3/32.png) [@nelsonwolf](https://www.finalbuilder.com/forums/u/nelsonwolf)
#### Post date: [November 10, 2009, 10:09am UTC](https://www.finalbuilder.com/forums/t/after-a-timeout-should-svn-exe-process-still-exist/1373/3 "2009-11-10T10:09:09Z")

</div>

I'm attaching a sample project.&nbsp; It runs a dumb tcp server written in Perl and then asynchronously runs an svn checkout against the server.&nbsp; The subversion action times out after 1 minute, the tcp server times out after 2.&nbsp; The final action is a powershell script that looks for and kills svn processes that were spawned by the script.&nbsp;

[SvnTimeoutLeavesOrphan.zip](https://www.finalbuilder.com/forums/uploads/default/original/2X/5/5ff7b196a1c1e2362579cb3337b7c6c01e04d5ad.zip) (3.752 KB)

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [November 11, 2009, 12:35pm UTC](https://www.finalbuilder.com/forums/t/after-a-timeout-should-svn-exe-process-still-exist/1373/4 "2009-11-11T12:35:30Z")

</div>

Hi Nelson  
  
After investigation, it seems that the default behavior does not terminate the process on a timeout. There is a TerminateOnTimeout property on the action, which unfortunately isn't exposed in the Timeout Dialog but it is exposed in the Action inspector.&nbsp;&nbsp; When I set this the svn process is terminated immediately after a timeout.

![TerminateOnTimeout.jpg](https://www.finalbuilder.com/forums/uploads/default/original/2X/6/6710c72e8143602a06e56fe6f1a3e89531b03c93.jpeg)

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [November 11, 2009, 12:37pm UTC](https://www.finalbuilder.com/forums/t/after-a-timeout-should-svn-exe-process-still-exist/1373/5 "2009-11-11T12:37:14Z")

</div>

BTW, for Server, are you talking about the project timeout, or the trigger timeout?
