Eric Hodel
10/12/2007 8:27:00 PM
On Oct 12, 2007, at 11:00 , Laurent Francioli wrote:
> So first of all a little context of what I'm trying to do.
> I have Rails app that needs quite a bit of computation and I want
> to run
> the different queries in a number of different processes. To do so,
> I'm
> trying to implement the following system:
>
> Rails --> Drb Query Dispatcher --> Drb Query Runner
>
> Rails sends a job to the query dispatcher which load balances the jobs
> over serveral query runners.
>
> The whole system works and then suddenly hangs. When it hangs I get
> the
> following message on the Drb Query Dispatcher:
>
> message type 0x54 arrived from server while idle
> message type 0x44 arrived from server while idle
> message type 0x43 arrived from server while idle
> message type 0x5a arrived from server while idle
I don't see where this message is coming from in DRb, or ruby.
> Then I can see that there is still some action for some of the queries
> until it freezes completely.
>
> Did anyone encounter similar problems? Or knows where I could fine at
> least the signification of these messages?
grep your code for 'while idle', that will help.
--
Poor workers blame their tools. Good workers build better tools. The
best workers get their tools to do the work for them. -- Syndicate Wars