Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No workers are running #109

Open
malisetti opened this issue Oct 30, 2014 · 4 comments
Open

No workers are running #109

malisetti opened this issue Oct 30, 2014 · 4 comments

Comments

@malisetti
Copy link

My jobs are placed in queues(seen them in redis-cli monit). I started all the workers(with ) in foreground. No process is forked or executed when a job is added. Even in my /resque/ i can see the jobs in different queues but no workers. I am using thin bundle with "symfony/symfony": "2.5." and "bcc/resque-bundle": "1.1.7" . Also pcntl_* functions are not disabled in my php cli config.

@malisetti
Copy link
Author

It works fine without any configuration but if i specify
bcc_resque:
class: BCC\ResqueBundle\Resque
vendor_dir: %kernel.root_dir%/../vendor
redis:
host: localhost
port: 6379
database: 1
Nothing works

@malisetti
Copy link
Author

@epicwhale @ruudk @dirkaholic ?

@epicwhale
Copy link
Contributor

@mseshachalam though I still can't grasp the actual problem, lets try to debug it a little further..

  1. Why are you setting the class and vendor_dir in the config? Just set your bcc_resque.redis.host and leave all settings at default. (just to eliminate any faulty configurations)
  2. When you use the command to start workers in foreground in development mode, can you pass the -vvv console argument and paste its output here? Also paste the full command you are using to start the workers.
  3. Can you paste the output of running this command in CLI: php -i | grep 'pcntl'

Let's start with this.

@Giuffre
Copy link

Giuffre commented Feb 4, 2015

I have the same problem and this is my output for php-i | grep 'pcntl':

pcntl
pcntl support => enabled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants