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