-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
sidekiq-pro not starting any processes and no jobs are consumed #3903
Comments
What is the Redis url for the Sidekiq process and in the footer of the web UI? I’d guess they are different. Post your initializer.
… On Jul 28, 2018, at 09:55, Eran Amiel ***@***.***> wrote:
Ruby version: 2.2.3, rails 4.2.9
Sidekiq / Pro version(s): sidekiq 5.1.3 with sidekiq-pro 4.03
i'm running sidekiq 5.1.3 with no problem and all working well.
when i installed sidekiq pro, i run sidekiq command, as always, in my terminal, its start running and all seems ok.
i also can see in the web ui the it running with pro version.
the problem is that i don't see any busy workers and no jobs are being consumed.
i also try to run with verbose mode but there is no indication for any problem.
i'm using mac os x high sierra 10.13.6.
this is my sidekiq.yml
Sidekiq process #1 - high-flow, regular events
:verbose: true
:concurrency: 1
:queues:
[events, 10]
[events_memsql, 9]
[reindex_users, 8]
[facebook_split_spends, 5]
[halo, 5]
[alexa, 5]
[default, 5]
[visitor_attribution, 5]
[link_visitors_to_users, 5]
[visitors_tracking, 3]
[alerts, 3]
[google_calendar, 4]
[reports, 2]
[active_campaign, 1]
[active_campaign_low ,1]
[active_campaign_medium ,3]
[active_campaign_high ,10]
[match_upgrades, 8]
[touch_points, 8]
[zombies, 5]
[platform_sync, 10]
[platform_sync_low, 1]
[ab_test, 10]
[memsql_sync, 10]
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
i'm running redis locally redis_conn = proc { Sidekiq.configure_client do |config| Sidekiq.configure_server do |config| web ui url is: redis://localhost:6379/0 my point is that not in pro version its working fine. |
That's what we're trying to figure out. I believe you are misconfiguring Sidekiq. Let it handle the connection pooling for you: redis = {
:host => $creds.get('REDIS/HOST'),
:port => $creds.get('REDIS/PORT'),
:password => $creds.get('REDIS/PASSWORD')
}
Sidekiq.configure_client do |config|
config.redis = redis
end
Sidekiq.configure_server do |config|
config.redis = redis
end |
ok. now it's working, can u explain what is the reason ? |
You were giving Sidekiq one Redis socket to share across N threads.
Sidekiq needs many sockets to work quickly.
I don’t know why you configured the connection pool that way but if you
copied it from someone/somewhere, please let them know their code is
terribly broken.
…On Sat, Jul 28, 2018 at 10:11 PM, Eran Amiel ***@***.***> wrote:
ok. now it's working, can u explain what is the reason ?
what is the difference between what i did and your way ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3903 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAALX2Broxemdihd1zAvmjZeJNAiddjjks5uLUQCgaJpZM4VlHAD>
.
|
Ruby version: 2.2.3, rails 4.2.9
Sidekiq / Pro version(s): sidekiq 5.1.3 with sidekiq-pro 4.03
i'm running sidekiq 5.1.3 with no problem and all working well.
when i installed sidekiq pro, i run sidekiq command, as always, in my terminal, its start running and all seems ok.
i also can see in the web ui the it running with pro version.
the problem is that i don't see any busy workers and no jobs are being consumed.
i also try to run with verbose mode but there is no indication for any problem.
i'm using mac os x high sierra 10.13.6.
this is my sidekiq.yml
Sidekiq process #1 - high-flow, regular events
:verbose: true
:concurrency: 1
:queues:
The text was updated successfully, but these errors were encountered: