# BJ Background jobs won't die

**URL:** <https://www.ruby-forum.com/t/bj-background-jobs-wont-die/131705>\
**Category:** Rails\
**Created:** [March 12, 2008, 5:01pm UTC](https://www.ruby-forum.com/t/bj-background-jobs-wont-die/131705 "2008-03-12T17:01:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gdevore](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a9adbd/32.png) [@gdevore](https://www.ruby-forum.com/u/gdevore)\
**Post date:** [March 12, 2008, 5:01pm UTC](https://www.ruby-forum.com/t/bj-background-jobs-wont-die/131705/1 "2008-03-12T17:01:29Z")

</div>

I am having a problem using the bj plugin and am wondering if someone  
can help. Basically we use attachment\_fu to upload images to our  
server and then send a job to bj to upload those files to S3 and then  
delete them from our server.

This all works fine except that when we try to stop mongrel we get the  
following error:  
“Waiting for 1 requests to finish, could take 60 seconds.”  
After about 60 seconds it kills the process.

The background jobs have finished but the process seems to be hanging  
around. If I wait about a minute I am able to restart mongrel but I  
would obviously prefer to have it shutdown correctly. Any ideas?

Thanks
