Giter Site home page Giter Site logo

Killed by signal 9 about parallel-ssh HOT 15 CLOSED

dukexar avatar dukexar commented on September 24, 2024
Killed by signal 9

from parallel-ssh.

Comments (15)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 24, 2024
Please can you tell me whats wrong. I could to once but cannt do now.
Also note that with ssh key it is OK.

Original comment by [email protected] on 15 Sep 2010 at 8:15

from parallel-ssh.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 24, 2024
I've been trying to think what could cause this.  You said it only happens with 
the "-A" option, right?  Are you typing the password right away?  How long does 
it take before you see the "Timed out, Killed by signal 9" message?  Is it 
pretty close to instant, or is there a delay?

Original comment by [email protected] on 15 Sep 2010 at 3:56

from parallel-ssh.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 24, 2024
By the way, did you kill it, or did that happen all on its own?  Does anything 
relevant show up in the system logs (e.g., /var/log/messages)?

Original comment by [email protected] on 15 Sep 2010 at 3:58

from parallel-ssh.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 24, 2024
i did not kill it.
Interestingly i got success only once.
yap there is a delay.
Its take a while and then saying Timed out and signal 9.
Interestingly when its trying to connect i takes hole lot of prcess of my CPU.
I am using debian squeeze. I also tried on debian lenny unfortunate its the 
same things. you can try and also send me some success log...
THanks for reply...and also waiting for more comments.....

Original comment by [email protected] on 18 Sep 2010 at 5:48

from parallel-ssh.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 24, 2024
Hmm.  Which process is using all of the CPU?  Is it pssh or ssh or pssh-askpass 
(running the "top" program can help if you aren't already familiar with this)?  
It sounds like ssh is being killed, not pssh or pssh-askpass, so I'm suspecting 
that the ssh process is the one using a lot of CPU.

I haven't been able to reproduce this yet, and I'm still thinking about what 
could be causing it; let me know if there's anything else that you think might 
be relevant.  Thanks.

Original comment by [email protected] on 20 Sep 2010 at 4:21

from parallel-ssh.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 24, 2024
I'm having a similar issue. Using the -A option, even with only a single entry 
in the host file results in a delay of about 60 seconds and an error: " Timed 
out, Killed by signal 9". top shows little CPU usage but pssh-askpass does seem 
to be consuming the most, albeit only ~1.3%. I'm running pssh version 2.1.1 on 
Ubuntu 10.04

The command is:  pssh -l root -A -i -h test.txt uptime

text.txt contains only 1 line/entry: 127.0.0.1

The error and result is no different if I include a username in the hosts file 
or not.

TIA,
Terry

Original comment by [email protected] on 30 Nov 2010 at 3:50

from parallel-ssh.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 24, 2024
Unfortunately, I have tried a few times to reproduce this on Fedora without any 
luck.  I will try to find a Ubuntu machine in a few minutes and see if I have 
any more success there.  Do you have any other suggestions that might help me 
reproduce it?  Thanks.

Original comment by [email protected] on 2 Dec 2010 at 7:00

from parallel-ssh.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 24, 2024
Okay, I found a Ubuntu 10.04 machine and added a hosts file and ran:

parallel-ssh -l amcnabb -A -i -h test.txt whoami

but this did not timeout or hang.  I'm trying to think of anything that might 
be different in the environment.

Do you have the same problem if you ssh into your machine (without X 
forwarding) and run pssh there?  Is there anything if interest in your 
.ssh/config or in your system's ssh config?

Original comment by [email protected] on 2 Dec 2010 at 7:19

from parallel-ssh.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 24, 2024
I have the same issue here.  pssh 2.1.1 on Debian squeeze.  (I'm using public 
key authentication for SSH, so it's not having to wait for a password.)  Slow 
hosts consistently cause a timeout, Killed by signal 9.  

Original comment by [email protected] on 18 Dec 2010 at 2:27

from parallel-ssh.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 24, 2024
For those who are having this problem, if you try to ssh to one of the hosts 
manually, do you get a "The authenticity of host 'xyz' can't be established" 
message?  I'm still trying to find information about how to reproduce the 
problem.  Thanks.

Original comment by [email protected] on 8 Jan 2011 at 9:38

from parallel-ssh.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 24, 2024
Also, if you specify "-x '-v'" along with "-i" do you see the following error 
message over and over?

debug1: read_passphrase: can't open /dev/tty: No such device or address

If this is it, then I think I may have just reproduced it.

Original comment by [email protected] on 8 Jan 2011 at 9:50

from parallel-ssh.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 24, 2024
By the way, if it's the /dev/tty thing that I described in comment #11, then I 
think that this can only happen if pssh is being run as root.  Can anyone 
confirm this as well?  Thanks.

Original comment by [email protected] on 8 Jan 2011 at 10:21

from parallel-ssh.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 24, 2024
Okay, I think I have a solution to this in commit 8b9fb2c.  Give it a try if 
you have a chance; if it works I would like to cut a new release just for this 
problem.

For those who are interested in details, it looks like the problem is that pssh 
didn't know what to do when the -A option was set and ssh asked the question:

"""
The authenticity of host 'xyz (192.168.1.1)' can't be established.
RSA key fingerprint is 33:4d:a6:09:ea:45:09:39:86:a9:cb:33:93:91:93:fe.
Are you sure you want to continue connecting (yes/no)?
"""

Thanks, everyone, for helping me track this down, and please let me know 
whether or not commit 8b9fb2c solves the problem for you.

Original comment by [email protected] on 9 Jan 2011 at 5:52

  • Changed state: Started

from parallel-ssh.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 24, 2024
Sorry, commit 566a881 should actually work.

Original comment by [email protected] on 9 Jan 2011 at 5:59

from parallel-ssh.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 24, 2024
After some further testing, I'm going to mark this as fixed.  However, if you 
run into any further problems despite the fix, please reopen the issue.  Thanks 
for your patience with this problem.

Original comment by [email protected] on 10 Jan 2011 at 2:38

  • Changed state: Fixed

from parallel-ssh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.