I'm developing this **[application](http://actibities-uniongr.rhcloud.com/pages/view-demo)** which I have deployed to OpenShift.

I have "moved" the actual user registration process to a delayed job because there are a lot of stuff taking placing during this. Every two days (or so), the delayed job process stops running.

In the logs I find this:

`Error while reserving job: closed MySQL connection`

I tried starting it with the following command:

`RAILS_ENV=production bin/delayed_job -m start`

but the problem still exists.

Any ideas?