L
Laurent Francioli
Hi,
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
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?
Thanks alot!
I'll be glad to give more information if needed.
PS: I have tried to implement this with the Slave library but ran into
even more trouble with logs just making nonsense (looked like some
memory corruption somewhere)
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
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?
Thanks alot!
I'll be glad to give more information if needed.
PS: I have tried to implement this with the Slave library but ran into
even more trouble with logs just making nonsense (looked like some
memory corruption somewhere)