You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a project with delayed_job and I need to check status delayed_job workers after each deploy using a follow script:
require 'delayed/command' Delayed::Command.new(['start','-n', '2']).daemonize >delayed_job.0: process with pid 47619 started. >delayed_job.1: process with pid 47621 started. Delayed::Command.new(['status']).deamonize
It returns: delayed_job: no instances running
and the same time into pids folder we have follows files: delayed_job.0.pid delayed_job.1.pid
Early, after that I had executed this command, I could get information about current status all workers like as: delayed_job: running [pid 47619] delayed_job: running [pid 47621]
However, after updating the project to Rails 5.2 as well as updated an implicit dependency gem daemons up to version 1.3.1 and after that the following script works incorrectly:
Historically the daemons gem has been wonky. Process monitoring is a weirdly complex task. I would suggest rolling back to your known good daemons version.
This is due to daemons changing the format of names of pid files. See thuehlinger/daemons#40. New functionality has been introduced that DelayedJob could call to keep using the current format with newer versions of daemons.
Basic info
I have a project with delayed_job and I need to check status delayed_job workers after each deploy using a follow script:
require 'delayed/command'
Delayed::Command.new(['start','-n', '2']).daemonize
>delayed_job.0: process with pid 47619 started.
>delayed_job.1: process with pid 47621 started.
Delayed::Command.new(['status']).deamonize
It returns:
delayed_job: no instances running
and the same time into pids folder we have follows files:
delayed_job.0.pid
delayed_job.1.pid
Early, after that I had executed this command, I could get information about current status all workers like as:
delayed_job: running [pid 47619]
delayed_job: running [pid 47621]
However, after updating the project to Rails 5.2 as well as updated an implicit dependency
gem daemons
up to version 1.3.1 and after that the following script works incorrectly:Contributing guidelines
Search the "mailing list":http://groups.google.com/group/delayed_job to see if anyone else had the same issue.
Check the "GitHub issue tracker":http://github.com/collectiveidea/delayed_job/issues/ to see if anyone else has reported issue.
Environment:
Ruby 2.4.1
Rails 5.2
Gemfile.lock:
delayed_job (4.1.5) daemons (1.3.1)
The text was updated successfully, but these errors were encountered: