Skip to content
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

Zhong process dies without explanation on Heroku #39

Open
mmplisskin opened this issue Aug 27, 2021 · 1 comment
Open

Zhong process dies without explanation on Heroku #39

mmplisskin opened this issue Aug 27, 2021 · 1 comment

Comments

@mmplisskin
Copy link

We have been running Zhong for months; occasionally, all of a sudden the process just stops without warning, no memory or dyno load issues, exceptions or anything.

We have added this to try to get more information. Any other suggestions, has anyone else seen this behavior?

  on(:before_run) do |job, time|
    puts "starting: #{job}, lock_key: #{job.lock_key}"
  end

  on(:after_run) do |job, time, ran|
    puts "finished: #{job} ran: #{ran}, lock_key: #{job.lock_key} "
  end

Notice in the logs we see starting/finishing then just heroku samples

image

@ajtoo
Copy link

ajtoo commented Aug 23, 2023

Hi @mmplisskin, did you ever figure out this issue? I'm looking to use this gem on Heroku too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants