Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #3101

net-ssh - execution expired

From Si La <simon@lisuna.org>
Newsgroups comp.lang.ruby
Subject net-ssh - execution expired
Date Mon, 18 Apr 2011 08:55:56 -0500
Organization Service de news de lacave.net
Lines 118
Message-ID <58ce3dd629d298ea3601b045bb839315@ruby-forum.com> (permalink)
NNTP-Posting-Host bristol.highgroove.com
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 7bit
X-Trace talisker.lacave.net 1303135133 64973 65.111.164.187 (18 Apr 2011 13:58:53 GMT)
X-Complaints-To abuse@lacave.net
NNTP-Posting-Date Mon, 18 Apr 2011 13:58:53 +0000 (UTC)
X-Received-From This message has been automatically forwarded from the ruby-talk mailing list by a gateway at comp.lang.ruby. If it is SPAM, it did not originate at comp.lang.ruby. Please report the original sender, and not us. Thanks! For more details about this gateway, please visit: http://blog.grayproductions.net/categories/the_gateway
X-Mail-Count 381779
X-Ml-Name ruby-talk
X-Rubymirror Yes
X-Ruby-Talk <58ce3dd629d298ea3601b045bb839315@ruby-forum.com>
Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.stben.net!talisker.lacave.net!lacave.net!not-for-mail
Xref x330-a1.tempe.blueboxinc.net comp.lang.ruby:3101

Show key headers only | View raw


hi *,

i'm having a problem with net-ssh. i'm trying to run a command on
another server that might take about 10h. after about 4 to 5 hours i ran
into the error below.
is there a way to modify the timeout that might cause the problem?

i know this is the ruby mailing list and i'm working on a rails app but
this problem is more related to pure ruby than rails.

it would be great if somebody could give me some pointers.

thx for your help,
simon

#<Class:0x000000043ba6b0>: execution expired
/usr/local/lib/ruby/gems/1.9.1/gems/net-ssh-2.0.23/lib/net/ssh/ruby_compat.rb:22:in
`select'
/usr/local/lib/ruby/gems/1.9.1/gems/net-ssh-2.0.23/lib/net/ssh/ruby_compat.rb:22:in
`io_select'
/usr/local/lib/ruby/gems/1.9.1/gems/net-ssh-2.0.23/lib/net/ssh/connection/session.rb:201:in
`process'
/usr/local/lib/ruby/gems/1.9.1/gems/net-ssh-2.0.23/lib/net/ssh/connection/session.rb:161:in
`block in loop'
/usr/local/lib/ruby/gems/1.9.1/gems/net-ssh-2.0.23/lib/net/ssh/connection/session.rb:161:in
`loop'
/usr/local/lib/ruby/gems/1.9.1/gems/net-ssh-2.0.23/lib/net/ssh/connection/session.rb:161:in
`loop'
/usr/local/lib/ruby/gems/1.9.1/gems/net-ssh-2.0.23/lib/net/ssh/connection/channel.rb:269:in
`wait'
/var/rails/releases/20110314075616/lib/ssh_commander.rb:119:in `block (2
levels) in runCmd'
/var/rails/releases/20110314075616/lib/ssh_commander.rb:96:in `each'
/var/rails/releases/20110314075616/lib/ssh_commander.rb:96:in `block in
runCmd'
/usr/local/lib/ruby/gems/1.9.1/gems/net-ssh-2.0.23/lib/net/ssh.rb:186:in
`start'
/var/rails/releases/20110314075616/lib/ssh_commander.rb:88:in `runCmd'
/var/rails/releases/20110314075616/app/models/task.rb:292:in
`command_run'
/var/rails/releases/20110314075616/app/models/task_mysql_slave.rb:65:in
`block (2 levels) in <class:TaskMysqlSlave>'
/var/rails/releases/20110314075616/app/models/task.rb:341:in `call'
/var/rails/releases/20110314075616/app/models/task.rb:341:in
`command_log_block'
/var/rails/releases/20110314075616/app/models/task_mysql_slave.rb:59:in
`block in <class:TaskMysqlSlave>'
/var/rails/releases/20110314075616/app/models/task.rb:154:in
`instance_exec'
/var/rails/releases/20110314075616/app/models/task.rb:154:in `exec'
/usr/local/lib/ruby/gems/1.9.1/gems/delayed_job-2.1.2/lib/delayed/performable_method.rb:20:in
`perform'
/usr/local/lib/ruby/gems/1.9.1/gems/delayed_job-2.1.2/lib/delayed/backend/base.rb:83:in
`invoke_job'
/usr/local/lib/ruby/gems/1.9.1/gems/delayed_job-2.1.2/lib/delayed/worker.rb:119:in
`block (2 levels) in run'
/usr/local/lib/ruby/1.9.1/timeout.rb:57:in `timeout'
/usr/local/lib/ruby/gems/1.9.1/gems/delayed_job-2.1.2/lib/delayed/worker.rb:119:in
`block in run'
/usr/local/lib/ruby/1.9.1/benchmark.rb:309:in `realtime'
/usr/local/lib/ruby/gems/1.9.1/gems/delayed_job-2.1.2/lib/delayed/worker.rb:118:in
`run'
/usr/local/lib/ruby/gems/1.9.1/gems/delayed_job-2.1.2/lib/delayed/worker.rb:176:in
`reserve_and_run_one_job'
/usr/local/lib/ruby/gems/1.9.1/gems/delayed_job-2.1.2/lib/delayed/worker.rb:103:in
`block in work_off'
/usr/local/lib/ruby/gems/1.9.1/gems/delayed_job-2.1.2/lib/delayed/worker.rb:102:in
`times'
/usr/local/lib/ruby/gems/1.9.1/gems/delayed_job-2.1.2/lib/delayed/worker.rb:102:in
`work_off'
/usr/local/lib/ruby/gems/1.9.1/gems/delayed_job-2.1.2/lib/delayed/worker.rb:77:in
`block (2 levels) in start'
/usr/local/lib/ruby/1.9.1/benchmark.rb:309:in `realtime'
/usr/local/lib/ruby/gems/1.9.1/gems/delayed_job-2.1.2/lib/delayed/worker.rb:76:in
`block in start'
/usr/local/lib/ruby/gems/1.9.1/gems/delayed_job-2.1.2/lib/delayed/worker.rb:73:in
`loop'
/usr/local/lib/ruby/gems/1.9.1/gems/delayed_job-2.1.2/lib/delayed/worker.rb:73:in
`start'
/usr/local/lib/ruby/gems/1.9.1/gems/delayed_job-2.1.2/lib/delayed/command.rb:100:in
`run'
/usr/local/lib/ruby/gems/1.9.1/gems/delayed_job-2.1.2/lib/delayed/command.rb:79:in
`block in run_process'
/usr/local/lib/ruby/gems/1.9.1/gems/daemons-1.0.10/lib/daemons/application.rb:215:in
`call'
/usr/local/lib/ruby/gems/1.9.1/gems/daemons-1.0.10/lib/daemons/application.rb:215:in
`block in start_proc'
/usr/local/lib/ruby/gems/1.9.1/gems/daemons-1.0.10/lib/daemons/daemonize.rb:192:in
`call'
/usr/local/lib/ruby/gems/1.9.1/gems/daemons-1.0.10/lib/daemons/daemonize.rb:192:in
`call_as_daemon'
/usr/local/lib/ruby/gems/1.9.1/gems/daemons-1.0.10/lib/daemons/application.rb:219:in
`start_proc'
/usr/local/lib/ruby/gems/1.9.1/gems/daemons-1.0.10/lib/daemons/application.rb:255:in
`start'
/usr/local/lib/ruby/gems/1.9.1/gems/daemons-1.0.10/lib/daemons/controller.rb:69:in
`run'
/usr/local/lib/ruby/gems/1.9.1/gems/daemons-1.0.10/lib/daemons.rb:188:in
`block in run_proc'
/usr/local/lib/ruby/gems/1.9.1/gems/daemons-1.0.10/lib/daemons/cmdline.rb:105:in
`call'
/usr/local/lib/ruby/gems/1.9.1/gems/daemons-1.0.10/lib/daemons/cmdline.rb:105:in
`catch_exceptions'
/usr/local/lib/ruby/gems/1.9.1/gems/daemons-1.0.10/lib/daemons.rb:187:in
`run_proc'
/usr/local/lib/ruby/gems/1.9.1/gems/delayed_job-2.1.2/lib/delayed/command.rb:78:in
`run_process'
/usr/local/lib/ruby/gems/1.9.1/gems/delayed_job-2.1.2/lib/delayed/command.rb:72:in
`block in daemonize'
/usr/local/lib/ruby/gems/1.9.1/gems/delayed_job-2.1.2/lib/delayed/command.rb:70:in
`times'
/usr/local/lib/ruby/gems/1.9.1/gems/delayed_job-2.1.2/lib/delayed/command.rb:70:in
`daemonize'
/var/rails/current/script//delayed_job:5:in `<main>'

-- 
Posted via http://www.ruby-forum.com/.

Back to comp.lang.ruby | Previous | Next | Find similar


Thread

net-ssh - execution expired Si La <simon@lisuna.org> - 2011-04-18 08:55 -0500

csiph-web