Ask Your Question

Why the tasks queue of Dashboard is growing slowly?

asked 2013-08-27 11:21:04 -0600

LeCouz gravatar image


I've installed Puppet-Dashboard on a physical server, with 4 CPU, 16Gb RAM, and SSD hard drive. Dashboard work with passenger, and I have 4 works for delayed_job.

But the pending tasks queue still growing after 15-20 min, and I have to clear jobs after one hour. What can I do? What things I've missed on my dashboard installation?


edit retag flag offensive close merge delete


What is the output of the command "env RAILS_ENV=production script/delayed_job status"?

GregLarkin gravatar imageGregLarkin ( 2013-08-27 21:07:32 -0600 )edit

env RAILSENV=production script/delayedjob status delayed_job: no instances running /etc/init.d/puppet-dashboard-workers status * Puppet Dashboard Worker (pid 20732) is running * Puppet Dashboard Worker (pid 20737) is running * Puppet ...(more)

LeCouz gravatar imageLeCouz ( 2013-08-28 03:03:48 -0600 )edit

I've just clear jobs (7000 pendindg) and workers are now running.

LeCouz gravatar imageLeCouz ( 2013-08-28 03:05:34 -0600 )edit

I've 190 pending tasks. The output of "env RAILS_ENV=production script/delayed_job status" is "delayed_job: no instances running"

LeCouz gravatar imageLeCouz ( 2013-08-28 03:41:13 -0600 )edit

Can you stop the workers with "/etc/init.d/puppet-dashboard-workers stop", then start them manually in the foreground with "env RAILSENV=production script/delayedjob start -t"? When you do that ...(more)

GregLarkin gravatar imageGregLarkin ( 2013-08-28 03:46:05 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-08-28 09:46:20 -0600

LeCouz gravatar image


I changed numbers of workers: 4 to 16. Much better. The queue is stable. Don't follow documentation about numbers of workers.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-08-27 11:21:04 -0600

Seen: 1,047 times

Last updated: Aug 28 '13