This document is only relevant for Avalon versions prior to 7.0

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:

    ps aux | grep delayed_job
    sudo 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. Restart delayed job.

    sudo service avalon_delayed_job start