From: ara.t.howard@... Date: 2007-04-30T22:21:54+09:00 Subject: Re: Strange DRb and fork issues On Mon, 30 Apr 2007, Farrel Lifson wrote: > > Hi Ara, > > In my code I used fork with a block (taken from server.rb): > def create_client(hostname=nil,port=nil) > pid = fork do > @klass.start(hostname,port,self.url) > end > Process.detach(pid) > pid > end > end that looks reasonable. > Could that be causing the strange issue I'm having? I assumed that was a > safe way of using fork as the child only runs what's in the block. My main > puzzle is why the server loses it's reference to the client process after it > has registered. hard to say without seeing the code ;-) > I'm trying to learn some of the low level details of DRb, but unfortunately > the documentation out there is not very detailed. the samples directory covers nearly everything - do you have that? cheers. -a -- be kind whenever possible... it is always possible. - the dalai lama