bugzilla-daemon at bugzilla.mindrot.org
2010-Jan-21  06:52 UTC
[Bug 1700] New: ssh-agent dies under high load
https://bugzilla.mindrot.org/show_bug.cgi?id=1700
           Summary: ssh-agent dies under high load
           Product: Portable OpenSSH
           Version: 5.1p1
          Platform: ix86
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: ssh-agent
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: kernel at pkts.ca
Hi..
I've found that under high load, the ssh-agent process dies.
The high load environment:
Home computer:  Fedora 10,  openssh-5.1p1
Gateway computer: Fedora 11, openssh-5.2p1
Cluster head node: MacOSX 10.6, openssh-5.2p1
6 Child nodes: MacOSX 10.4, 10.5, 10.6, various versions
The program:
On the cluster head node, run "ssh node### blastall -p blastp ..."
hundreds of times (80 jobs simultaneously, using 'make -j 80'), where
node### is a random child node.
The crash:
The ssh-agent process running on the home computer dies after a few
minutes of this, causing the saved key to be lost, and new ssh
connections require the passphrase for my private key.  Running
'ssh-agent tcsh' and 'ssh-add' fixes the problem at least for
the
children of one terminal window.  Logging out and back in restores full
functionality.
Observations:
Running 40 jobs simultaneously works.
I should probably be using an ssh-agent on the cluster head node, or
some other method that doesn't use ssh-agent.
I didn't see any rate-limiting code in ssh-agent for openssh-5.1p1, so
this is probably a bug, not a feature.
Thanks!
-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Jan-21  07:17 UTC
[Bug 1700] ssh-agent dies under high load
https://bugzilla.mindrot.org/show_bug.cgi?id=1700
Tomas Mraz <t8m at centrum.cz> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t8m at centrum.cz
--- Comment #1 from Tomas Mraz <t8m at centrum.cz> 2010-01-21 18:17:14 EST
---
Are you sure that the ssh-agent running on the home computer (Fedora
10) is a real ssh-agent and not for example gnome-keyring-daemon
emulating ssh-agent?
echo $SSH_AUTH_SOCK
will tell you more.
-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Jan-21  07:50 UTC
[Bug 1700] ssh-agent dies under high load
https://bugzilla.mindrot.org/show_bug.cgi?id=1700 --- Comment #2 from PFudd <kernel at pkts.ca> 2010-01-21 18:50:19 EST --- (In reply to comment #1)> Are you sure that the ssh-agent running on the home computer (Fedora > 10) is a real ssh-agent and not for example gnome-keyring-daemon > emulating ssh-agent? > > echo $SSH_AUTH_SOCK > will tell you more.Ah, I see; it is the gnome-keyring-daemon. I'll go file this bug with them. Thanks! -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Jan-21  08:15 UTC
[Bug 1700] ssh-agent dies under high load
https://bugzilla.mindrot.org/show_bug.cgi?id=1700
PFudd <kernel at pkts.ca> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID
--- Comment #3 from PFudd <kernel at pkts.ca> 2010-01-21 19:15:08 EST ---
Apparently it's already been fixed in a later version.
I'm using gnome-keyring-2.24.1-1.fc10.i386.rpm, and the bug was
reported in https://bugzilla.gnome.org/show_bug.cgi?id=580068 , and
apparently fixed around August 2009.
-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Apr-16  05:49 UTC
[Bug 1700] ssh-agent dies under high load
https://bugzilla.mindrot.org/show_bug.cgi?id=1700
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED
--- Comment #4 from Damien Miller <djm at mindrot.org> 2010-04-16 15:49:40
EST ---
Mass move of bugs RESOLVED->CLOSED following the release of
openssh-5.5p1
-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
Apparently Analagous Threads
- [Bug 1524] New: Problem with non-interactive logins and bash on Solaris
 - [Bug 1496] New: ssh fails with xmalloc: zero size
 - [Bug 1681] New: conversation function for passwd auth method assumes instead of fail
 - [Bug 2000] New: when using ssh with ControlMaster/ControlPersist, one may get zombie processes
 - [Bug 1676] New: Add NSS keys support