[Backgroundrb-devel] backgroundrb not cleaning up tmp files?

hemant gethemant at gmail.com
Sat Dec 8 01:52:47 EST 2007


Eric,

Please try upgrading to latest version. I am putting lots of features
and fixes there.


On Dec 1, 2007 12:47 AM, Erik Morton <eimorton at gmail.com> wrote:
> I just had an interesting issue on a production system that has been
> running nicely for about a year. There were approximately 10,000
> backgroundrb temp files in the /tmp directory. It looks like
> backgroundrb wasn't cleaning them up.
>
> I noticed it with the following error:
> DRb::DRbConnError: drbunix:///tmp/backgroundrb.20015/
> backgroundrb_logger_0_0.101544829808665 - #<Errno::ENOENT: No such
> file or directory - ///tmp/backgroundrb.20015/
> backgroundrb_logger_0_0.101544829808665>
>   /usr/lib/ruby/1.8/drb/drb.rb:736:in `open'
>   /usr/lib/ruby/1.8/drb/drb.rb:729:in `each'
>   /usr/lib/ruby/1.8/drb/drb.rb:729:in `open'
>   /usr/lib/ruby/1.8/drb/drb.rb:1189:in `initialize'
>   /usr/lib/ruby/1.8/drb/drb.rb:1169:in `new'
>   /usr/lib/ruby/1.8/drb/drb.rb:1169:in `open'
>   /usr/lib/ruby/1.8/drb/drb.rb:1085:in `method_missing'
>   /usr/lib/ruby/1.8/drb/drb.rb:1103:in `with_friend'
>   /usr/lib/ruby/1.8/drb/drb.rb:1084:in `method_missing'
>   /apps/eisweb/releases/20071120022316/vendor/plugins/backgroundrb/
> server/lib/backgroundrb/middleman.rb:42:in `initialize'
>   /apps/eisweb/releases/20071120022316/vendor/plugins/backgroundrb/
> server/lib/backgroundrb/middleman.rb:420:in `new'
>   /apps/eisweb/releases/20071120022316/vendor/plugins/backgroundrb/
> server/lib/backgroundrb/middleman.rb:420:in `worker'
>   /apps/eisweb/releases/20071120022316/vendor/plugins/backgroundrb/
> server/lib/backgroundrb/worker.rb:37:in `logger'
>   #{RAILS_ROOT}/app/helpers/distribution_helper.rb:4:in
> `do_distribution'
>
> Has anyone else seen this?
> _______________________________________________
> Backgroundrb-devel mailing list
> Backgroundrb-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/backgroundrb-devel
>



-- 
Let them talk of their oriental summer climes of everlasting
conservatories; give me the privilege of making my own summer with my
own coals.

http://gnufied.org


More information about the Backgroundrb-devel mailing list