Questions tagged [sidekiq-monitor]

33 questions
14
votes
2 answers

Rails - devise and sidekiq routes

I am running a Rails 5.0.0 app with Ruby 2.3.1 Sidekiq is being used for background jobs and devise for authentication. Sidekiq monitoring and devise are mounted in routes as follows: devise_for :users, skip: [:sessions] as :user do get …
13
votes
3 answers

Pry like debugger for Sidekiq?

I've tried pry and remote-pry, but no luck. I'm familiar with logging, but I want to be able to step thru my code and look at variables. Does anyone know of anything I can use to debug Sidekiq?
ToddT
  • 3,084
  • 4
  • 39
  • 83
4
votes
2 answers

How to scale sidekiq performance for my rails application. Need to run 100 sidekiq jobs per second

I have a requirement where I should be able to run 100 sidekiq jobs per second. I increased my server capacity to 8CPUs and created 4 sidekiq processes but still its serving 50 jobs per minute. I am not sure where I am missing
4
votes
2 answers

Sidekiq web returns a blank page with empty body

I am trying to access the sidekiq web however I am getting a blank page. No error or message. I am using the following env.: ruby 2.6.3 Rails 6.0.2.1 (inc. zeitwerk) rack 2.1.2 sidekiq 6.0.4 If I am grading sidekiq down to version 5.2.7 without…
Chris
  • 318
  • 1
  • 15
4
votes
1 answer

Cannot add new queue in sidekiq

Hi guys i cannot add new queue in sidekiq, there are several command like bundle exec sidekiq -q queue_name or via rails console Sidekiq::Queue.new("queue_name") those two commands still cannot create new queue both in redis. Here is the sidekiq web…
3
votes
1 answer

How to track the sidekiq jobs that have been killed?

I am looking for a way to track sidekiq jobs that have been killed abruptly. Is there a on_delete kind of operation in sidekiq(I couldnt find any in documentation) I can implement, so that some process is carried out whenever a job gets deleted…
krishna sai
  • 185
  • 8
3
votes
0 answers

get running job sidekiq from worker (ruby)

workers = Sidekiq::Workers.new workers.each do |_process_id, _thread_id, work| p work['payload']['jid'] end How can I get the job from the worker? I have the jid but job aren't in Queue because still running...
Matrix
  • 3,458
  • 6
  • 40
  • 76
3
votes
4 answers

How do You monitor sidekiq processes?

I'm working on a production app that has multiple rails servers behind nginx loadbalancer. We are monitoring sidekiq processes with monit, and it works just fine - when sidekiq proces dies monit starts it right back. However recently encountered a…
J-ad
  • 31
  • 1
  • 5
2
votes
1 answer

Restart Sidekiq If it fails

Is there a way to restart sidekiq automatically if it gets killed because of some issue on the server - may me memory etc. right now i have to login to the server command line and run something like bundle exec sidekiq -d -P tmp/sidekiq.pid -L…
Harsha M V
  • 54,075
  • 125
  • 354
  • 529
2
votes
0 answers

Monit does not recognize memory used by monitored process

I'm running sidekiq on OSX 10.10.4, using monit, with the goal of restarting the process when total memory balloons over a certain level. However, monit thinks that the monitored sidekiq process does not consume any memory. monit instead sees all…
mattmattmatt
  • 965
  • 3
  • 15
  • 29
2
votes
2 answers

Sidekiq monitor no CSS and no Bootstrap in production

I have a problem with sidekiq monitor - in development it works fine but in production it does not have any CSS working just displaying plain web page with no stilling on int! Does any body knows how to fix it please!!!! I am using this version…
arthur-net
  • 1,138
  • 1
  • 13
  • 34
1
vote
1 answer

How to switch Redis database with Sidekiq on Rails 5.2.4?

My application uses Sidekiq and it's web monitoring interface. Sidekiq relies on one Redis instance, declared in the Sidekiq initializer: sidekiq.rb in Development Sidekiq.configure_server do |config| config.redis = { url:…
user1185081
  • 1,898
  • 2
  • 21
  • 46
1
vote
0 answers

perform_async Sidekiq Issue

Let's say we have 100 objects to send in Sidekiq to process some data. A rake is written which runs every 24 hours and picks up all 100 object where the object has column sidekiq_processed as false and send it into Sidekiq queue for processing.…
1
vote
1 answer

How to start Sidekiq Web UI on public 0.0.0.0?

In order to start sidekiq web UI I currently do: rackup sidekiq_web.ru -p 9293 However once puma starts it listens only to localhost. * Listening on tcp://localhost:9293 How can I run this on http://0.0.0.0:9293? Thanks
stratis
  • 7,750
  • 13
  • 53
  • 94
1
vote
0 answers

sidekiq workers get stuck after a while running

I have been testing some code lately and I found myself in a weird situation. Let me try to explain a bit. I have multiple pieces of code (more than 500) that do the following: - Parse a string - Parse a JSON - Parse an array - Run HTTP/HTTPS…
Rob
  • 89
  • 6
1
2 3