I need to disconnect explicitly from a druby client.
My code is like:
@drb = DRbObject.new(nil, ‘druby://localhost:7777’)
@drb.dosomething(param1, param2, param3)
…(here I’d like to disconnect!!)…
I am using druby to communicate between a Rails application running on
lighttpd/FreeBSD6 and a server-script running on the same box with
I noticed that the longer I run the webserver the more sockets stay
“sockstat | grep ruby” gives me hundreds of:
www ruby18 26179 10 tcp4 *:51359 :
www ruby18 26179 11 tcp4 *:57690 :
www ruby18 26179 12 tcp4 *:53473 :
I assume that every time I run the druby client on the website a
remains open. They get all cleared if I restart lighttpd.