Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

When Delayed Job starts hogging too much of the CPU and memory and load average goes up.

Step-by-step guide (as root)

  1. Take a look at the jobs that are currently running:

    Code Block
    ps aux | grep delayed_job
    #or
    service avalon_delayed_job status
     
    #You can also look at the stored pids here
    #but restarting delayed job should take care of it.
    cd tmp/pids
  2. Kill Previous Delayed Job using a regular kill command and waiting a little while. If that doesn't work, ramp up to a kill -9.

  3. Then as root, restart Restart delayed job.

    Code Block
    service avalon_delayed_job start

...