Hi Guys
I am starting a new thread as it seems my gripe isnt to do with
Juggernaut but with TCPSocket - which is used by Juggernaut.
Turns out that the thing that actually hangs up in Juggernaut after x
(130/1500/16000) iterations of
(1..1000).each {|i| Juggernaut.show_clients}
Is actually the line
res << @socket.readline(CR) if response
in juggernaut.rb.
Seems @socket.readline behaves nicely when there is something to read,
but fails miserably with a hangup when there isnt. Even a socket to my
pop mailserver fails:
@socket = TCPSocket.new (mailserver,110)
@socket.readline >> "+OK\r\n"
@socket.readline >> hang
Maybe I am grasping at straws here - for a full description of my
problem with Juggernaut on Windows see
http://www.ruby-forum.com/topic/210450#new
Any ideas would be appreciated!
Pieter Hugo
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment