Skip to content

Zhong process dies without explanation on Heroku #39

@mmplisskin

Description

@mmplisskin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions