Cannot build any jobs: "Pending - Waiting for next available executor"

4,226 views
Skip to first unread message

Nicky Ramone

unread,
Mar 7, 2012, 8:34:08 AM3/7/12
to jenkins...@googlegroups.com
Hi

Since several days I'm unable to build anything and I can't understand what's wrong.
Jenkins keeps waiting for an available executor but never starts:

2%
Build History
pending  #103
cancel this build
(pending - Waiting for next available executor )

The server has enough free space and memory.
I tried restarting Jenkins, upgrading to the latest version (now I'm on 1.454), restarting the job, but still nothing.
I also looked at the catalina.out logs but found nothing related to that.

Maybe someone can give me a hint, please?
Thanks in advance.

Matthew...@diamond.ac.uk

unread,
Mar 7, 2012, 8:41:52 AM3/7/12
to jenkins...@googlegroups.com

This is probably https://issues.jenkins-ci.org/browse/JENKINS-12994  - vote for that ticket if it is a problem for you (and/or add a note to the ticket indicating that you are also experiencing it)

 

From: jenkins...@googlegroups.com [mailto:jenkins...@googlegroups.com] On Behalf Of Nicky Ramone
Sent: 07 March 2012 13:34
To: jenkins...@googlegroups.com
Subject: Cannot build any jobs: "Pending - Waiting for next available executor"

 

Hi

 

Since several days I'm unable to build anything and I can't understand what's wrong.

Jenkins keeps waiting for an available executor but never starts:

 

The server has enough free space and memory.

I tried restarting Jenkins, upgrading to the latest version (now I'm on 1.454), restarting the job, but still nothing.

I also looked at the catalina.out logs but found nothing related to that.

 

Maybe someone can give me a hint, please?

Thanks in advance.


 

-- 

This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 


Nicky Ramone

unread,
Mar 7, 2012, 8:49:51 AM3/7/12
to jenkins...@googlegroups.com
That seems to be a different problem.
I haven't defined any quiet periods, and I'm only trying to run one single build right now. The job never starts.

Slide

unread,
Mar 7, 2012, 8:53:30 AM3/7/12
to jenkins...@googlegroups.com

Is this a new install of Jenkins? Or one that's been up for a while? How many executors do you have defined in the global config?

Nicky Ramone

unread,
Mar 7, 2012, 8:57:04 AM3/7/12
to jenkins...@googlegroups.com
This is an install that has been there for a long time.
The "# of executors" is 0.
Does that mean it's unlimited?

Slide

unread,
Mar 7, 2012, 9:00:46 AM3/7/12
to jenkins...@googlegroups.com

Try changing to 1.

Nicky Ramone

unread,
Mar 7, 2012, 9:06:19 AM3/7/12
to jenkins...@googlegroups.com
Thanks! that worked. It's building now. I don't know how it got to the value 0.

Do you have any tips for how to choose that number? I don't have any slaves right now.

Didier Durand

unread,
Mar 7, 2012, 9:19:52 AM3/7/12
to Jenkins Users
Hi,

You may want to relate the number of executors to the number of cores
on your jenkins server if it is more or less dedicated to Jenkins

Soon you will also realize that you need to define priorities to sort
out jobs in the queue: then this plugin gets useful:
http://wiki.hudson-ci.org/display/HUDSON/Priority+Sorter+Plugin

regards

didier

On Mar 7, 3:06 pm, Nicky Ramone <nixe...@gmail.com> wrote:
> Thanks! that worked. It's building now. I don't know how it got to the
> value 0.
>
> Do you have any tips for how to choose that number? I don't have any slaves
> right now.
>
>
>
>
>
>
>
> On Wed, Mar 7, 2012 at 11:00 AM, Slide <slide.o....@gmail.com> wrote:
> > Try changing to 1.
> > On Mar 7, 2012 6:57 AM, "Nicky Ramone" <nixe...@gmail.com> wrote:
>
> >> This is an install that has been there for a long time.
> >> The "# of executors" is 0.
> >> Does that mean it's unlimited?
>
> >> On Wed, Mar 7, 2012 at 10:53 AM, Slide <slide.o....@gmail.com> wrote:
>
> >>> Is this a new install of Jenkins? Or one that's been up for a while? How
> >>> many executors do you have defined in the global config?
> >>>  On Mar 7, 2012 6:49 AM, "Nicky Ramone" <nixe...@gmail.com> wrote:
>
> >>>> That seems to be a different problem.
> >>>> I haven't defined any quiet periods, and I'm only trying to run one
> >>>> single build right now. The job never starts.
>
> >>>> On Wed, Mar 7, 2012 at 10:41 AM, <Matthew.Web...@diamond.ac.uk> wrote:
>
> >>>>>  This is probablyhttps://issues.jenkins-ci.org/browse/JENKINS-12994- vote for that ticket if it is a problem for you (and/or add a note to
> >>>>> the ticket indicating that you are also experiencing it) ****
>
> >>>>> ** **
>
> >>>>> *From:* jenkins...@googlegroups.com [mailto:
> >>>>> jenkins...@googlegroups.com] *On Behalf Of *Nicky Ramone
> >>>>> *Sent:* 07 March 2012 13:34
> >>>>> *To:* jenkins...@googlegroups.com
> >>>>> *Subject:* Cannot build any jobs: "Pending - Waiting for next
> >>>>> available executor"****
>
> >>>>> ** **
>
> >>>>> Hi****
>
> >>>>> ** **
>
> >>>>> Since several days I'm unable to build anything and I can't understand
> >>>>> what's wrong.****
>
> >>>>> Jenkins keeps waiting for an available executor but never starts:****
>
> >>>>> ** **
>
> >>>>> The server has enough free space and memory.****
>
> >>>>> I tried restarting Jenkins, upgrading to the latest version (now I'm
> >>>>> on 1.454), restarting the job, but still nothing.****
>
> >>>>> I also looked at the catalina.out logs but found nothing related to
> >>>>> that.****
>
> >>>>> ** **
>
> >>>>> Maybe someone can give me a hint, please?****
>
> >>>>> Thanks in advance.****

Nicky Ramone

unread,
Mar 7, 2012, 9:25:34 AM3/7/12
to jenkins...@googlegroups.com
Thanks very much for helping.
Cheers.

Sami Tikka

unread,
Mar 9, 2012, 12:06:59 AM3/9/12
to jenkins...@googlegroups.com
I got this exact same problem after upgrading to 1.453. All my slaves have 1 executor that appeared to be idle but still all the builds just stayed in the queue. 

I downgraded back to 1.451 and problem went away. 

-- Sami

Matthew...@diamond.ac.uk

unread,
Mar 9, 2012, 2:56:10 AM3/9/12
to jenkins...@googlegroups.com

The problem is https://issues.jenkins-ci.org/browse/JENKINS-12994. Sami, can you add a comment to that ticket to say you also have the problem, and possibly vote for it? At the moment the ticket is unassigned, yet it’s blocking some people moving to the latest release which has a security fix.

 

 

From: jenkins...@googlegroups.com [mailto:jenkins...@googlegroups.com] On Behalf Of Sami Tikka
Sent: 09 March 2012 05:07
To: jenkins...@googlegroups.com
Subject: Re: Cannot build any jobs: "Pending - Waiting for next available executor"

 

I got this exact same problem after upgrading to 1.453. All my slaves have 1 executor that appeared to be idle but still all the builds just stayed in the queue. 

 

I downgraded back to 1.451 and problem went away. 


-- Sami


Nicky Ramone <nix...@gmail.com> kirjoitti 7.3.2012 kello 15.34:

Hi

 

Since several days I'm unable to build anything and I can't understand what's wrong.

Jenkins keeps waiting for an available executor but never starts:

 

Image removed by sender. 2%

Build History

Image removed by sender. pending  #103

Image removed by sender. cancel this build

(pending - Waiting for next available executor )

sunil peta

unread,
Jan 6, 2016, 5:58:28 AM1/6/16
to Jenkins Users, Matthew...@diamond.ac.uk
Increase number of executors to 2 or 3.
This will allow parallel executions of jenkins tasks. 
Reply all
Reply to author
Forward
0 new messages