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

Worker in daemon mode #15

Closed
sebo opened this issue Sep 6, 2016 · 3 comments
Closed

Worker in daemon mode #15

sebo opened this issue Sep 6, 2016 · 3 comments

Comments

@sebo
Copy link

sebo commented Sep 6, 2016

Hi

I use laravel 5.2. When I run the queue with the following command

php artisan queue:work --daemon

gearadmin --status shows after some time that there are 200 instances of the worker running.

Also I'm seeing "1 minutes have elapsed, expiring."

That doesn't seem to be right?

Can you help?

Thanks

Sebo

@sebo
Copy link
Author

sebo commented Sep 14, 2016

I'm also seeing this error:

ProcessTimedOutException

@sebo sebo closed this as completed Oct 12, 2016
@pafelin
Copy link
Owner

pafelin commented Oct 17, 2016

Hi

Correct, this implementation does not support the --daemon option. You don't need it with Gearman.

Use: php artisan queue:listen
--daemon was added for queue storages that use lots of resources, the implementation of Gearman doesn't use.

Also if you can avoid using gearman I would advice you to do so. Best would be to update to beanstalkd (since it is the closest to gearman)
Otherwise good queue/ampq is rabbitmq but in most cases it is overkill. You need to know that for rabbitmq you definitely need to use --daemon.

Best

@sebo
Copy link
Author

sebo commented Oct 17, 2016

Thanks for the information!

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

2 participants