When I run a task against quite a number of servers I get:

/Users/david/.rvm/gems/ruby-1.9.2-p136/gems/net-ssh-2.1.0/lib/net/ssh/
connection/channel.rb:524:in `do_open_failed': open failed (1)
(Net::SSH::ChannelOpenFailed)
        from /Users/david/.rvm/gems/ruby-1.9.2-p136/gems/net-ssh-2.1.0/
lib/net/ssh/connection/session.rb:541:in `channel_open_failure'
        from /Users/david/.rvm/gems/ruby-1.9.2-p136/gems/net-ssh-2.1.0/
lib/net/ssh/connection/session.rb:456:in `dispatch_incoming_packets'
        from /Users/david/.rvm/gems/ruby-1.9.2-p136/gems/net-ssh-2.1.0/
lib/net/ssh/connection/session.rb:213:in `preprocess'

If I reduce the number of servers by specifying any subset of those
servers (eg, ":roles => :app") the task starts to work.  I assume it
has something to do with having too many simultaneous SSH connections
or similar.  I've checked the logs on the server end -- I can't see
the server rejecting connections, so I'm assuming it's my client end
failing to create that many connections.

Other than trying to subdivide my task (which I've already done) is
there anything else I can do?

I'm using Ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-
darwin10.6.0] with Capistrano v2.5.19.

Cheers,
David.

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to capistrano@googlegroups.com
* To unsubscribe from this group, send email to 
capistrano+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to