-
Notifications
You must be signed in to change notification settings - Fork 38
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
long queue times? #395
Comments
My gut tells me something is odd with your installation, that queue cleanup Even if you run it at a decent hosted virtual server it should not take A good starting point may be the laravel.log in 'app/storage/logs', there 2015-05-30 23:15 GMT+02:00 Tyrionestemaire notifications@github.com:
|
I'm having the same Problem. Running 2 instanzes of seat, one for testing, one more produktional. sipervisorctl tells me my 8 workers are Running. Redis says the same.
haven't found any error's till now. where should I look for? |
You need two instances of redis and supervisord sipervisorctl tells me my 8 workers are Running. Redis says the same. #/src/seat/artisan seat:queue-status haven't found any error's till now. where should I look for? —Reply to this email directly or view it on GitHub. |
supervisord handles every worker you give him a config for, and redis are two different instances. |
Does both of your config file are correctly configured ? In particulare redis port. —Reply to this email directly or view it on GitHub. |
Yes and Yes. Notized this already before setting up the second instance. Some of the Jobs get done, most are requeued, and get done 1-2 once in a while (every ~2h). |
how many supervisor process do you have foreach of its instance ? |
4 each, 8 in total, so 4 per seat instance
And got this in my laravel.log:
|
Question is: Do the 2 instances share anything else, except the webserver and being on the same host. Supervisor in this case does not look like the problem, do you use different Redis DBs for each? |
I assume the fact it worked the same way with only one instance pushes that choice apart as a reason, but can you tell me where the redis DBs are configured? Maybe I get to some trustworthy error reason from there. Only thing i can imagine atm is the one with :
|
In |
http://chrislaskey.com/blog/342/running-multiple-redis-instances-on-the-same-server/ The redis & db queued counts are not the same. This is not always a bad thing —Reply to this email directly or view it on GitHub. |
For n seat instance you should have : —Reply to this email directly or view it on GitHub. |
Le 9 juin 2015 10:14, "Alexander A." notifications@github.com a écrit :In app/config/database.php around Line 142 the 0 should be changed --> seems to solve my issue for both instances, pulling the jobs out of queue now as expected |
If this is something one of the developers wants to include into settings, please close it, for me changing the value from 0 to 1 for 1 instance worked for both instances (so 1st is set to 0, 2nd to 1). |
Multiple instances on the same host is not really something that is officially supported atm. I will tag this as an enhancement and look at having some configs prepared so that may in fact be possible. Thanks to all for the help :) |
http://prntscr.com/7b9f66
just dont understand the queues. are the normally this long for the rest?
http://prntscr.com/7b9fr8
The text was updated successfully, but these errors were encountered: