gmendonca / parallel-ssh

Automatically exported from code.google.com/p/parallel-ssh
Other
1 stars 0 forks source link

Interrupted System Call #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I intermittently get an interrupted system call exception, with the following 
traceback:

:Traceback (most recent call last):
  File "/usr/bin/pssh", line 5, in ?
    pkg_resources.run_script('pssh==2.1.1', 'pssh')
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py", line 489, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py", line 1214, in run_script
    exec script_code in namespace, namespace
  File "/usr/bin/pssh", line 119, in ?

  File "/usr/bin/pssh", line 110, in do_pssh

  File "build/bdist.linux-x86_64/egg/psshlib/manager.py", line 68, in run
  File "build/bdist.linux-x86_64/egg/psshlib/manager.py", line 122, in update_tasks
  File "build/bdist.linux-x86_64/egg/psshlib/manager.py", line 147, in reap_tasks
  File "build/bdist.linux-x86_64/egg/psshlib/manager.py", line 185, in finished
  File "build/bdist.linux-x86_64/egg/psshlib/task.py", line 264, in report
IOError: [Errno 4] Interrupted system call

I haven't been able to come up with detailed reproduction steps, as it doesn't 
seem to be caused by the commands that I'm using.

Original issue reported on code.google.com by device...@gmail.com on 16 Jun 2010 at 1:56

GoogleCodeExporter commented 8 years ago
I'll need to look at this a bit more closely, but this definitely needs to be 
fixed.  Thanks for reporting the problem.

Original comment by amcna...@gmail.com on 19 Jul 2010 at 3:13

GoogleCodeExporter commented 8 years ago

Original comment by amcna...@gmail.com on 9 Jan 2011 at 6:26

GoogleCodeExporter commented 8 years ago
Commit c6bee26 should hopefully fix this problem.  This commit will be in the 
next release.  Please let me know if you continue to see this problem.  Thank 
you for your help (and patience).

Original comment by amcna...@gmail.com on 13 Jan 2011 at 11:36

GoogleCodeExporter commented 8 years ago
I haven't heard anything about this recently, so I'll assume this is fixed.  
Please let me know if you continue to have problems.

Original comment by amcna...@gmail.com on 1 Apr 2011 at 6:52

GoogleCodeExporter commented 8 years ago
I am using the newest version of pssh (2.3.1), and I am still getting the very 
same error and traceback that is reported above, so it seems this may not have 
been fixed  :

do_pssh(hosts, cmdline, opts)
  File "/usr/bin/pssh", line 89, in do_pssh
    statuses = manager.run()
  File "/usr/lib/python2.4/site-packages/psshlib/manager.py", line 75, in run
    self.update_tasks(writer)
  File "/usr/lib/python2.4/site-packages/psshlib/manager.py", line 135, in update_tasks
    keep_running = self.reap_tasks()
  File "/usr/lib/python2.4/site-packages/psshlib/manager.py", line 160, in reap_tasks
    self.finished(task)
  File "/usr/lib/python2.4/site-packages/psshlib/manager.py", line 198, in finished
    task.report(n)
  File "/usr/lib/python2.4/site-packages/psshlib/task.py", line 279, in report
    sys.stdout.write(self.outputbuffer)
IOError: [Errno 4] Interrupted system call

Original comment by BarryGes...@gmail.com on 18 Dec 2014 at 8:44