[Backgroundrb-devel] Stopping DRb after using BackgrounDRb::MiddleManDRbObject.init

Michael D''Auria
2007-01-19T15:31:55Z

You need to clean up your workers yourself, so toss in a self.delete inside
of the do_work method to have the worker clean up after itself or you can
perform a delete on the worker on the outside using it''s id.

.: Michael :.


On 1/19/07, Robert Bjarnason <robert.bjarnason at gmail.com>
wrote:
>
> Hi,
>
> I''m having a problem where connections started through
> BackgrounDRb::MiddleManDRbObject.init are not stopped, resulting in an
> ever growing established connections between my Mongrels and remote
> backgroundrbs
>
> I added DRb.stop_service to my code executed after requests that init
> MiddleManDRbObjects but that does not help.
>
> Any ideas?
>
> Thanks,
> Robert Bjarnason
>
> _______________________________________________
> Backgroundrb-devel mailing list
> Backgroundrb-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/backgroundrb-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...