Comments (11)
I will have a look at this this evening.
from mina-sidekiq.
Thanks!
from mina-sidekiq.
One question on the side, when I deploy I see:
-----> Stop sidekiq
Sidekiq is not running
-----> Start sidekiq
This is a bit confusing to me, I think sidekiq is actually running, but maybe it stops when we do sidekiq quiet on the start of deploy? Can you confirm this? The message is a little bit confusing since to me it indicates like something is wrong and sidekiq wasn't running before I started to deploy, but I don't think that's the case.
from mina-sidekiq.
The message is echoed, if the pid file was not found. I made the message a little more verbose. I implement everything but the processes id. Because this option conflicts with multiple processes (sidekiq_processes
). You can override the sidekiq cmd, if you need this feature.
from mina-sidekiq.
Hm it could actually be because you used a relative path for the PID param (-P), I can test it out when you're done with that.
I didn't understand what you meant though, what do you mean with this option conflicts... Which option?
from mina-sidekiq.
The gem provides an option called sidekiq_processes
, which sets the number of processes that are spawned on a system.
from mina-sidekiq.
Ah I see. Well I haven't changed the mina default, but I did set concurrency to 2 in my sidekiq.yml. However I am using JRuby so I'm pretty sure that just means two threads, since there is no reason to use multiple processes on JRuby.
What I'm trying to say is I don't think I have multiple sidekiq processes.
from mina-sidekiq.
The concurrency option always increase the number of threads, even on Ruby MRI.
Maybe I could increase the process id with each process spawned by the sidekiq_processes
loop.
I think it is a safe assumption to say, that the sidekiq spawned by mina is the only sidekiq for an application on the target host.
from mina-sidekiq.
I don't understand why it matters how many threads there are, if there is just one processes? Threads don't have PIDs..
It's probably always a good reference to look at how the capistrano recipe does it.
from mina-sidekiq.
done.
from mina-sidekiq.
Thanks! I'll let you know if I have any issues.
from mina-sidekiq.
Related Issues (17)
- Don't know how to build task 'sidekiq:quiet' HOT 2
- sidekiq_concurrency overrides concurrency in config sidekiq.yml HOT 1
- Request for a Release for Latest Fix : Do not pass sidekiq concurrency parameters by default HOT 2
- Sidekiq is not properly setup with bundler HOT 16
- undefined method `set_default' for main:Object (NoMethodError) HOT 2
- [Question] - Does pending jobs get deleted when we deploy new release of our Rails app? HOT 2
- Could not locate Gemfile or .bundle/ directory ( ERROR: Deploy failed. ) HOT 11
- sidekiq:quiet fails on first deploy HOT 5
- `environment` task is deprecated HOT 7
- invoke :'sidekiq:restart' doesn't work in on :launch do block HOT 1
- Sidekiq 6.0 fail HOT 3
- Problem sidekiq 6 HOT 4
- Cannot restart sidekiq HOT 36
- Don't know how to build task 'remote_environment'
- How to enable sidekiq.yml HOT 4
- Sidekiq not started HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mina-sidekiq.