Nope, ClientAliveInterval 15 ClientAliveCountMax 15
gives the following stack trace every time in the same place (when it tries to restart the 3rd of 3 app server instances) /Library/Ruby/Gems/1.8/gems/net-ssh-2.0.3/lib/net/ssh/buffered_io.rb: 98:in `send': closed stream (IOError) from /Library/Ruby/Gems/1.8/gems/net-ssh-2.0.3/lib/net/ssh/ buffered_io.rb:98:in `send_pending' from /Library/Ruby/Gems/1.8/gems/net-ssh-2.0.3/lib/net/ssh/connection/ session.rb:208:in `postprocess' from /Library/Ruby/Gems/1.8/gems/net-ssh-2.0.3/lib/net/ssh/connection/ session.rb:207:in `each' from /Library/Ruby/Gems/1.8/gems/net-ssh-2.0.3/lib/net/ssh/connection/ session.rb:207:in `postprocess' from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/ processable.rb:31:in `process_iteration' from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/ processable.rb:43:in `ensure_each_session' from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/ processable.rb:41:in `each' from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/ processable.rb:41:in `ensure_each_session' ... 75 levels... from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/cli/ execute.rb:14:in `execute' from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/bin/cap:4 from /usr/bin/cap:19:in `load' from /usr/bin/cap:19 or sometimes this trace earlier in the process: /Library/Ruby/Gems/1.8/gems/net-ssh-2.0.3/lib/net/ssh/connection/ session.rb:523:in `channel_request': undefined method `do_request' for nil:NilClass (NoMethodError) from /Library/Ruby/Gems/1.8/gems/net-ssh-2.0.3/lib/net/ssh/connection/ session.rb:428:in `send' from /Library/Ruby/Gems/1.8/gems/net-ssh-2.0.3/lib/net/ssh/connection/ session.rb:428:in `dispatch_incoming_packets' from /Library/Ruby/Gems/1.8/gems/net-ssh-2.0.3/lib/net/ssh/connection/ session.rb:185:in `preprocess' from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/ processable.rb:17:in `process_iteration' from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/ processable.rb:43:in `ensure_each_session' from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/ processable.rb:41:in `each' from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/ processable.rb:41:in `ensure_each_session' from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/ processable.rb:17:in `process_iteration' ... 74 levels... from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/cli/ execute.rb:14:in `execute' from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/bin/cap:4 from /usr/bin/cap:19:in `load' from /usr/bin/cap:19 On Jul 14, 3:37 pm, Jamis Buck <[EMAIL PROTECTED]> wrote: > Try reducing the interval to 15 or 20 and see if that makes any > difference. If it doesn't, try setting ClientAliveCountMax to 6 or > higher. > > - Jamis > > On Jul 14, 2008, at 1:07 PM, matt wrote: > > > > > Ok, I added "ClientAliveInterval 60", and now I'm getting a couple of > > different errors, at the exact same point in the deploy process that I > > was getting the ECONNRESET, pretty repeatable, and probably too > > strange to be coincidence: > > > /Library/Ruby/Gems/1.8/gems/net-ssh-2.0.3/lib/net/ssh/buffered_io.rb: > > 98:in `send': closed stream (IOError) > > from /Library/Ruby/Gems/1.8/gems/net-ssh-2.0.3/lib/net/ssh/ > > buffered_io.rb:98:in `send_pending' > > from /Library/Ruby/Gems/1.8/gems/net-ssh-2.0.3/lib/net/ssh/ > > connection/ > > session.rb:208:in `postprocess' > > from /Library/Ruby/Gems/1.8/gems/net-ssh-2.0.3/lib/net/ssh/ > > connection/ > > session.rb:207:in `each' > > from /Library/Ruby/Gems/1.8/gems/net-ssh-2.0.3/lib/net/ssh/ > > connection/ > > session.rb:207:in `postprocess' > > from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/ > > processable.rb:31:in `process_iteration' > > from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/ > > processable.rb:43:in `ensure_each_session' > > from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/ > > processable.rb:41:in `each' > > from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/ > > processable.rb:41:in `ensure_each_session' > > ... 75 levels... > > from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/cli/ > > execute.rb:14:in `execute' > > from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/bin/cap:4 > > from /usr/bin/cap:19:in `load' > > from /usr/bin/cap:19 > > > /Library/Ruby/Gems/1.8/gems/net-ssh-2.0.3/lib/net/ssh/connection/ > > session.rb:523:in `channel_request': undefined method `do_request' for > > nil:NilClass (NoMethodError) > > from /Library/Ruby/Gems/1.8/gems/net-ssh-2.0.3/lib/net/ssh/ > > connection/ > > session.rb:428:in `send' > > from /Library/Ruby/Gems/1.8/gems/net-ssh-2.0.3/lib/net/ssh/ > > connection/ > > session.rb:428:in `dispatch_incoming_packets' > > from /Library/Ruby/Gems/1.8/gems/net-ssh-2.0.3/lib/net/ssh/ > > connection/ > > session.rb:185:in `preprocess' > > from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/ > > processable.rb:17:in `process_iteration' > > from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/ > > processable.rb:43:in `ensure_each_session' > > from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/ > > processable.rb:41:in `each' > > from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/ > > processable.rb:41:in `ensure_each_session' > > from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/ > > processable.rb:17:in `process_iteration' > > ... 74 levels... > > from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/cli/ > > execute.rb:14:in `execute' > > from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/bin/cap:4 > > from /usr/bin/cap:19:in `load' > > from /usr/bin/cap:19 > > > On Jul 8, 4:33 pm, matt <[EMAIL PROTECTED]> wrote: > >> I have TCPKeepAlive turned on, but not ClientAliveInterval, I'll try > >> that. Thanks, --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---