You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@apache.org by Aristedes Maniatis <am...@apache.org> on 2009/12/10 09:48:56 UTC

Master build queue

I hope no one minds too much... I just increased the number of slots in the Hudson master from 2 to 3. What happened is that I've got two jobs which are both set as 'multi-configuration' jobs. Each job actually spawns a child job in order to do the work, but both the parent and the child are in the executor queue at the same time. The parent does no work, but ties up a slot.

So my two jobs will sometimes get triggered at the same time. Then both parents sit in the queue and neither can spawn a child to progress any further. Adding one more slot solved this... until a third multi-config job happens to hit the queue at exactly the same time.

Ideally, I'll look at ways to avoid my job having to be tied to one node.

Ari Maniatis

-- 

-------------------------->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A

Re: Master build queue

Posted by Aristedes Maniatis <ar...@ish.com.au>.
On 11/12/09 5:33 PM, Nigel Daley wrote:
> please leave slot administration to Hudson admins.  we're trying to
> remove slots, not add them, on the Master.

No problem. The way it was though, the Cayenne jobs were going to block up the queue regularly. I have since discovered the "lock" feature in Hudson and am using that to prevent two jobs getting stuck against each other.

Still, please don't reduce it to one slot, or else the multi-configuration jobs will be unable to run ever.


Thanks
Ari Maniatis

-- 
-------------------------->
ish
http://www.ish.com.au
Level 1, 30 Wilson Street Newtown 2042 Australia
phone +61 2 9550 5001   fax +61 2 9550 4001
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A

Re: Master build queue

Posted by Nigel Daley <nd...@yahoo-inc.com>.
please leave slot administration to Hudson admins.  we're trying to  
remove slots, not add them, on the Master.

nige

On Dec 10, 2009, at 12:48 AM, Aristedes Maniatis wrote:

> I hope no one minds too much... I just increased the number of slots  
> in the Hudson master from 2 to 3. What happened is that I've got two  
> jobs which are both set as 'multi-configuration' jobs. Each job  
> actually spawns a child job in order to do the work, but both the  
> parent and the child are in the executor queue at the same time. The  
> parent does no work, but ties up a slot.
>
> So my two jobs will sometimes get triggered at the same time. Then  
> both parents sit in the queue and neither can spawn a child to  
> progress any further. Adding one more slot solved this... until a  
> third multi-config job happens to hit the queue at exactly the same  
> time.
>
> Ideally, I'll look at ways to avoid my job having to be tied to one  
> node.
>
> Ari Maniatis
>
> -- 
>
> -------------------------->
> Aristedes Maniatis
> GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A