lostboy/workless — Issue #16: Local Scaler killing process before finishing last job
Author: pcasaretto
Created: 2011-11-03 11:56:42+00:00
State: open

It seems the process is getting killed somewhere between locking and actually doing the job.

```
ruby-1.9.2-p290 :001 > 10.times {delay.sleep(2)}
=> 10
ruby-1.9.2-p290 :002 > [Worker(host:pcasaretto-MacBook-Pro.local pid:2122)] Starting job worker
[Worker(host:pcasaretto-MacBook-Pro.local pid:2122)] Object#sleep completed after 2.0599
[Worker(host:pcasaretto-MacBook-Pro.local pid:2122)] Object#sleep completed after 2.0271
[Worker(host:pcasaretto-MacBook-Pro.local pid:2122)] Object#sleep completed after 2.0240
[Worker(host:pcasaretto-MacBook-Pro.local pid:2122)] Object#sleep completed after 2.0239
[Worker(host:pcasaretto-MacBook-Pro.local pid:2122)] Object#sleep completed after 2.0243
[Worker(host:pcasaretto-MacBook-Pro.local pid:2122)] Object#sleep completed after 2.0247
[Worker(host:pcasaretto-MacBook-Pro.local pid:2122)] Object#sleep completed after 2.0236
[Worker(host:pcasaretto-MacBook-Pro.local pid:2122)] Object#sleep completed after 2.0249
[Worker(host:pcasaretto-MacBook-Pro.local pid:2122)] Object#sleep completed after 2.0253
[Worker(host:pcasaretto-MacBook-Pro.local pid:2122)] Exiting...
[Worker(host:pcasaretto-MacBook-Pro.local pid:2122)] Exiting...
[Worker(host:pcasaretto-MacBook-Pro.local pid:2122)] Exiting...
[Worker(host:pcasaretto-MacBook-Pro.local pid:2122)] Exiting...
[Worker(host:pcasaretto-MacBook-Pro.local pid:2122)] Exiting...
bash: line 1: 2122 Killed: 9 rake jobs:work
Delayed::Job.all
=> [#]
```