[Backgroundrb-devel] Get "some read error" on calls to worker
rob at iotum.com
Mon Dec 17 12:39:04 EST 2007
From: hemant kumar [mailto:gethemant at gmail.com]
Sent: Monday, December 17, 2007 12:36 PM
To: Rob Nielsen
Cc: backgroundrb-devel at rubyforge.org
Subject: RE: [Backgroundrb-devel] Get "some read error" on calls to
On Mon, 2007-12-17 at 12:34 -0500, Rob Nielsen wrote:
> -----Original Message-----
> From: hemant kumar [mailto:gethemant at gmail.com]
> Sent: Monday, December 17, 2007 12:14 PM
> To: Rob Nielsen
> Cc: backgroundrb-devel at rubyforge.org
> Subject: Re: [Backgroundrb-devel] Get "some read error" on calls to
> Hi Rob,
> Ok so, create method is getting invoked when you invoke:
> Now, next i see an "exit!" statement there, which basically asks the
> worker to quit. Now when a worker quits, master process gets an error
> when reading from that socket, so thats why you are getting "some read
> error" message. But as far as I can see, create method is getting
> alright. Correct me, If i am wrong.
> Yes it gets called once. Subsequent calls fail for some reason. If I
> take out the job_key, then I can call it again.
When you can exit! on a worker..its dead, its gone. You can't access it
any more. You shouldn't call exit! on it, if you want to make further
calls to it.
Right. But I'm calling new_worker. So that should start a new instance.
Let them talk of their oriental summer climes of everlasting
conservatories; give me the privilege of making my own summer with my
More information about the Backgroundrb-devel