Jenkins unable to run jobs pending - waiting for next executor

+2 votes
I’m unable to execute any job on Jenkins. When I run a job, I get the following message on the console output ‘pending – waiting for next executor’. I can’t seem to run a simple job on the Master node. How can I solve this problem?
Jul 4, 2018 in Jenkins by Tyrion anex
• 8,700 points

6 answers to this question.

+3 votes
Best answer
Increase the number of executors. I had the same issue. I had run multiple jobs and had very limited executers. I increased the number of executors and the error disappeared.
answered Apr 24, 2019 by Maya

selected Apr 27, 2019 by Omkar
How do I do that?

go to Jenkins -> Manage Jenkins -> Manage Nodes
examine the "master" node. (Click on configure icon)
Increased it and issue got fixed.

thanks a lot .this helped me resolve the issue.
+3 votes

The Jenkins admin console should be able to run all the time, even when the Master node is offline. So, you’re facing this problem because Jenkins ran out of disk space.

To check this,

  • Go to Jenkins > Manage Jenkins > Manage nodes
  • Check if the master node is offline. It may report that the master node is out of disk space.
  • If not, then check the number of executors allocated, it is probably set to zero. Increase the number of executors and this will fix the problem.
answered Jul 4, 2018 by Sophie may
• 10,610 points
+2 votes
As mentioned by @Sophie, check your disk space.
answered Apr 24, 2019 by Lisha
+1 vote
Try restarting Jenkins, It worked for me. I don't know why though. If anybody knows, do let me know!
answered Apr 24, 2019 by Vish
+1 vote

Try this:

answered Apr 24, 2019 by Vedant
+1 vote
In my case, I had to restart the executors manually.
answered Apr 24, 2019 by Haider
thanks for your help. in my case master went down because of low disk space in /tmp location. I clear the /tmp folder and then clicked on bring back to online tab in --> Jenkins --> Manage Jenkins -> Manage Nodes --> here do check the issues related to yours.
Thanks for your response. If this has worked for you, can you please post this as an answer? It'll help other readers.
hi, how to restart the build executors manually ? in my case i have master node online and other two nodes offline due to which many builds are in pending state. quick help is appreciated


It depends on your tag. If you set a tag for the slave node then your job will only run on the slave node. So if your slave nodes are in an offline state, then your task will stay in a pending state. There are two ways to solve this issue. One is to change the tag from the slave node to the master node. Another way is you need to start your slave node.

Related Questions In Jenkins

+1 vote
1 answer

Unable to access Jenkins. I newly installed Jenkins but for some reason I cannot access it.

Try changing the port, Change JENKINS_AJP_PORT="xyz" to JENKINS_AJP_PORT="abc" If changing the ...READ MORE

answered Jul 4, 2018 in Jenkins by Sophie may
• 10,610 points
0 votes
2 answers

Is possible for Jenkins to auto start and stop slave nodes?

Try Jenkins Plugin called as Slave SetupPlugin. This ...READ MORE

answered Aug 6, 2018 in Jenkins by Nilesh
• 7,050 points
0 votes
1 answer

unable to compile java code in Jenkins

If the code is compiling and running ...READ MORE

answered Apr 25, 2018 in Jenkins by DareDev
• 6,890 points
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17, 2019 in Others by anonymous
+1 vote
1 answer
+4 votes
1 answer

Installing Web UI (Dashboard):kubernetes-dashboard on main Ubuntu 16.04.6 LTS (Xenial Xerus) server

Follow these steps: $ kubeadm reset $ kubeadm init ...READ MORE

answered Apr 12, 2019 in Kubernetes by Kalgi
• 52,360 points

reshown Apr 12, 2019 by Kalgi 6,390 views
+2 votes
4 answers
+3 votes
7 answers

Is it possible to shift or move jobs between two jenkins servers?

Hi, You can copy Jobs in between your ...READ MORE

answered Dec 16, 2020 in Jenkins by MD
• 95,440 points
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP