On 26 May 2010, at 12:54, Pieter Hugo wrote:

ok - have done some more research and I can now duplicate the problem.

if I run

(0..1000).each {|i| Juggernaut.show_clients ; puts i }

from a fresh Juggernaut restart it crashes after 130 iterations.
Everytime. We tried it on a Mac and it doesn't happen. It seems to run
out of ports or connections or something like that? Even putting a

sleep 1

in the loop doesnt make a difference - for some reason the connections
dont get flushed.

When it hangs my computer sits at 90% cpu usage.

Any ideas? anyone?

Could this be related to running an old version of Juggernaut?

http://groups.google.com/group/Juggernaut-for-Rails/browse_thread/thread/e6ead2f9d9a10f6d?pli=1

I don't even see that show_clients method in the latest source at http://github.com/maccman/juggernaut_plugin anymore.




Best regards

Peter De Berdt

--
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