# 1.0.0.2745 - Excessive build start delays

**URL:** https://www.finalbuilder.com/forums/t/1-0-0-2745-excessive-build-start-delays/5878
**Category:** Bugs
**Created:** [December 11, 2013, 11:02am UTC](https://www.finalbuilder.com/forums/t/1-0-0-2745-excessive-build-start-delays/5878 "2013-12-11T11:02:32Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![ollis](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/o/f1d935/32.png) [@ollis](https://www.finalbuilder.com/forums/u/ollis)
#### Post date: [December 11, 2013, 11:02am UTC](https://www.finalbuilder.com/forums/t/1-0-0-2745-excessive-build-start-delays/5878/1 "2013-12-11T11:02:32Z")

</div>

Hi,

We have for some time noticed that on occasion there are excessive delays in starting a build. For example right now I have no running builds and one initializing.

&nbsp;The initializing one has been in stage "[Repository Monitor] Waiting for repository 'Suite' to be checked." for 44 minutes. Previous build using the same SVN repository was completed approx ten minutes before starting so there has not been much changes introduced since, so waiting for Continua to start a build for an hour is excessive.

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [December 12, 2013, 2:36am UTC](https://www.finalbuilder.com/forums/t/1-0-0-2745-excessive-build-start-delays/5878/2 "2013-12-12T02:36:34Z")

</div>

Hi Ollie,   
  
 Yes, 44 minutes does seem excessive. We’ll do some additional testing in this area. Can you provide some information on your repository settings, particularly the Externals and Branches settings? Does your repository have a large number of branches and/or externals? It would also be useful if you could enable debug logging, although I understand if this is only happening on occasion it may be difficult to log the event happening?

---

<div class="post-metadata">

### Author: ![ollis](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/o/f1d935/32.png) [@ollis](https://www.finalbuilder.com/forums/u/ollis)
#### Post date: [December 13, 2013, 11:31am UTC](https://www.finalbuilder.com/forums/t/1-0-0-2745-excessive-build-start-delays/5878/3 "2013-12-13T11:31:45Z")

</div>

Hi,   
  
 The repository in question is the same you helped us to config during the beta period. I’ve updated the installation to 1.0.0.2770 but it made no difference as expected.   
  
 The issue appears to be that the repository is possibly stuck at “Updating Cache” stage. I’m not really able to determine if it’s actually doing something.   
  
 Externals are set to Checkout and Branches settings are as follows:   
 Branches Path: /branches/   
 Branch Pattern: /(201[2-9].[1-9]|HOTFIXES/201[2-9].[1-9][^/]+)/   
  
 The repository directory on the server is approx 5 GB of which 1 GB is in the .hg -directory and 3,5 GB in the .svn directory.   
  
 For reference normal working copy of a branch in that SVN repository is approx 1,4 GB of which 800 MB is in the .svn directory.

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [December 17, 2013, 7:12am UTC](https://www.finalbuilder.com/forums/t/1-0-0-2745-excessive-build-start-delays/5878/4 "2013-12-17T07:12:39Z")

</div>

Hi Olli,

We've been running through the way we are handling externals when switching SVN branches and have found a number of areas where the code can be optimised. We've been testing these improvements on a large test repository linked to a couple of couple externals and the speed of updating the cache has improved substantially.&nbsp;

We need to do some further testing to ensure that we are not losing anything, but hope to get an update out in the next couple of days.

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [December 18, 2013, 7:27am UTC](https://www.finalbuilder.com/forums/t/1-0-0-2745-excessive-build-start-delays/5878/5 "2013-12-18T07:27:49Z")

</div>

Hi Ollie,

We've uploaded a build 1.0.0.2785 with significant improvements to the externals support for Subversion.&nbsp;

- [Continua CI Server 64 bit installer](http://downloads.finalbuilder.com/downloads/continua/1.0/ContinuaCI.Server.Setup_x64_1.0.0.2785.exe)
- [Continua CI Server 32 bit installer](http://downloads.finalbuilder.com/downloads/continua/1.0/ContinuaCI.Server.Setup_1.0.0.2785.exe)
- [Continua CI Agent 64 bit installer](http://downloads.finalbuilder.com/downloads/continua/1.0/ContinuaCI.Agent.Setup_x64_1.0.0.2785.exe)
- [Continua CI Agent 32 bit installer](http://downloads.finalbuilder.com/downloads/continua/1.0/ContinuaCI.Agent.Setup_1.0.0.2785.exe)
- 

The speed increase will be more noticeable after the second new changeset.

Please let us know how this works out for your environment.

---

<div class="post-metadata">

### Author: ![crazyjak](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/c/ecc23a/32.png) [@crazyjak](https://www.finalbuilder.com/forums/u/crazyjak)
#### Post date: [February 13, 2014, 2:29am UTC](https://www.finalbuilder.com/forums/t/1-0-0-2745-excessive-build-start-delays/5878/6 "2014-02-13T02:29:31Z")

</div>

Hi&nbsp;  
  
This problem happens often with 1.0.0.2859 and Perforce repos as well. I’m sitting here right now waiting for 33 minutes  
and the repo is ‘Updating cache’.  
  
I know there were only 2 changes since the last time a build was run.  
  
Thanks

---

<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: [February 13, 2014, 3:04am UTC](https://www.finalbuilder.com/forums/t/1-0-0-2745-excessive-build-start-delays/5878/7 "2014-02-13T03:04:28Z")

</div>

Are there any Continua Event log entries?

---

<div class="post-metadata">

### Author: ![crazyjak](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/c/ecc23a/32.png) [@crazyjak](https://www.finalbuilder.com/forums/u/crazyjak)
#### Post date: [February 13, 2014, 3:09am UTC](https://www.finalbuilder.com/forums/t/1-0-0-2745-excessive-build-start-delays/5878/8 "2014-02-13T03:09:45Z")

</div>

Hey Vincent  
  
Nothing in the logs - nothing in the win event log either…  
  
I do have a theory which is why I asked [via support ticket] about renaming the host machine which I am about to embark upon.  
Will let you know if a) the renaming worked [first time it didn’t] and b) if that fixes the problem.  
  
I will need to create a new repo [P4 is pain] and then change a whole heap of stuff so it is going to take quite a long time to do.

---

<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: [February 13, 2014, 3:53am UTC](https://www.finalbuilder.com/forums/t/1-0-0-2745-excessive-build-start-delays/5878/9 "2014-02-13T03:53:29Z")

</div>

I suspect this is a perforce workspace issue. Continua Creates a Client with the name Continua[repoid] - I beleive (I’m no perforce expert) that the clients are machine specific. In perforce, you should be able to delete the client, then continua will recreate it if needed.

---

<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: [February 13, 2014, 3:56am UTC](https://www.finalbuilder.com/forums/t/1-0-0-2745-excessive-build-start-delays/5878/10 "2014-02-13T03:56:54Z")

</div>

Ok, in p4v, open the workspaces view, find the Continua[repoid] workspace and delete it. Then restart continua and that should have you up and running again.

---

<div class="post-metadata">

### Author: ![crazyjak](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/c/ecc23a/32.png) [@crazyjak](https://www.finalbuilder.com/forums/u/crazyjak)
#### Post date: [February 13, 2014, 4:04am UTC](https://www.finalbuilder.com/forums/t/1-0-0-2745-excessive-build-start-delays/5878/11 "2014-02-13T04:04:35Z")

</div>

Ha… great minds!  
  
I just did that based on ‘another’ hunch.  
Working fine now… P4 = voodoo

---

<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: [February 13, 2014, 4:17am UTC](https://www.finalbuilder.com/forums/t/1-0-0-2745-excessive-build-start-delays/5878/12 "2014-02-13T04:17:11Z")

</div>

lol! glad to here you are up and running!
