Peter De Berdt wrote:
> 
> Could this be related to running an old version of Juggernaut?
> 

Hi Peter

Thanks for the suggestion. Looked into it. I am running Juggernaut 0.5.8 
on both the Vista and Mac machines. On Vista the loop freezes after 130 
iterations. On mac it didnt freeze after 10 000.

So I tried it on my older installation - Windows XP, Juggernaut 0.5.7. 
Here it runs smoothly up to 1516 iterations and then throws an error - 
Errno: ECONNREFUSED: No connection could be made because the target 
machine actively refused it.

At least its a trapable error!. If I get an error back instead of a 
freeze I can work around it without having to reset the juggernaut 
server.

So here it gets more interesting. After the error occurs it seems even a 
single Juggernaut.show_clients gets me the error. And windows never 
recovers! Even after waiting 10 minutes. I keep on getting the error (on 
XP - with Vista I couldnt even get to this point as it just freezes)

So we tried it on the Mac. Seems better - runs up to 16000 connections 
before it crashes. After a few minutes its well again - so it seems that 
the connections do get flushed and made available to Juggernaut.

I dont know much about sockets and connections etc - any advice would 
help - we eventually would want to host our solution on any platform - 
which is why we went with Ruby on Rails.
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to