-
Notifications
You must be signed in to change notification settings - Fork 1.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
Rufus Scheduler doesn't run with daemonized puma 2.0.0.b4 #183
Comments
Do the workers start up? What config did you use to test it? |
Here is the schedule.rb I'm running from my config/initializers directory (I've snipped out most of the jobs except a printout of "I"VE Started" that I'm using to test this. Its the same one I've used for years, and it works just fine when puma isn't daemonized. I also think it might be related to this mongrel bug with rufus scheduler https://groups.google.com/forum/?fromgroups=#!topic/rufus-ruby/8ToQAH8-Rv0
"[Scheduler] started at ... " never prints out to the log |
Hey Evan, is there a way I can try this out? |
Use puma from git in your Gemfile, then you can try it out. |
IT WORKS!!!! WOOHOOOO!!!! |
WOOO! |
Hi Evan, |
@concept47 please open a new ticket. |
Sorry about that. it was fixed in 2.3.2 so not need. |
It looks like Rufus Scheduler doesn't run with daemonized puma again,I'm in version 2.8.1,any help? |
FYI: same issue thing on 2.9.0. Temp workaround: omit the --daemon flag and use nohup instead? #sneaky HTH! |
Still not working with Puma 2.9.1 |
Rufus 3.0.9 is also not working with Puma 2.9.1 |
Anyone? |
@puzanov What configuration are you running puma in? Are you using workers and preload? |
The problem is, mostly, that Rufus scheduler starts up threads at booted and they don't carry over properly. |
How to fix that? On Thu, Oct 16, 2014 at 10:03 PM, Evan Phoenix notifications@github.com
|
I'm new to puma and I love it!
(Went from 500-600M of memory usage to 150M ... that's hard to beat)
I got 1.6.3 working using an Apache proxy yesterday and it seemed to run just fine with this gem https://github.com/jmettraux/rufus-scheduler. My rufus scheduler tasks got scheduled and run just fine.
To take advantage of the daemonize option in the new version, I switched to 2.0.0.b4, but in that instance, Rufus scheduler doesn't seem to run at all, it starts up but then does nothing. Does just fine when I run it from ssh in the fore-ground.
Any ideas why it would work this way.
Thanks!
The text was updated successfully, but these errors were encountered: