Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37449 - ssh-agent grabbing 80-90% of CPU time when using entranced
Summary: ssh-agent grabbing 80-90% of CPU time when using entranced
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-06 19:52 UTC by Graeme Humphries
Modified: 2004-05-25 14:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Graeme Humphries 2004-01-06 19:52:11 UTC
I'm running openssh-3.7.1_p2-r1, under GNOME 2.4 desktop, and I'll notice that once every few hours, GNOME will have spawned a copy of ssh-agent that is running out of control and taking up as much of my CPU time as it can get.

This obviously has a pretty detrimental effect on system performance. :(
Comment 1 solar (RETIRED) gentoo-dev 2004-01-07 00:12:27 UTC
Reassign bug back.

Reason:
 Hardened herd does not maintain ssh/ssh-agent/desktop.*
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-01-07 00:17:30 UTC
you'll probably want to be taking hardened out of the metadata.xml file for openssh then.

Comment 3 Daniel Ahlberg (RETIRED) gentoo-dev 2004-02-21 13:22:11 UTC
Reassigning
Comment 4 foser (RETIRED) gentoo-dev 2004-02-21 14:04:39 UTC
I don't really follow, gnome doesn't just spawn ssh-agent processes ?
Comment 5 Spider (RETIRED) gentoo-dev 2004-02-21 16:39:08 UTC
Yeah it does. etc/X11/Sessions/Gnome :

sshagent=`which ssh-agent`
if [ -n "$sshagent" ] && [ -x "$sshagent" ] && [ -z "$SSH_AUTH_SOCK" ]; then
    command="$sshagent -- $command"
fi


it will do that to get a session parent to include, lets all of gnome fall back to a single ssh-agent.


However, as of the moment nothing much -uses- it (nautilus ssh:// )  and I can't reproduce the behaviour you state here either.


Comment 6 Graeme Humphries 2004-02-21 18:31:19 UTC
I have had it happen a couple of more times, but not with the same regularity it used to under GNOME 2.4.0. (I'm at 2.4.1 now, I think).

If I can determine how to reproduce it, I'll let you guys know, but I imagine it's probably triggered by a buggy GNOME situation that's all but resolved now.
Comment 7 Graeme Humphries 2004-02-21 18:31:44 UTC
Looks like I'm running GNOME 2.4.2 now, actually.
Comment 8 Pieter Baele 2004-04-20 03:17:12 UTC
I've this problem too.

I am using gnome-2.6.0 (some 2.6.1)
I have this problem when i reboot and login to gnome....
It's really annoying because i've to kill it each time! (otherwise everything goes very slow...)
Comment 9 Pieter Baele 2004-04-26 07:46:38 UTC
I've detected (maybe but 90% sure) what causes the problem.
The problem only occurs with entrance (enlightenment) as login manager, can someone check this please? Last cvs of entrance doesn't work, that's why I've switched back to gdm and the problem dissappeared.

I hope there will be some response here now :-s

Note: gnome does spawn ssh-agent, but this is normal. But when using entrance, ssh-agent begins to grabbing cpu time....
Comment 10 Graeme Humphries 2004-04-26 08:05:11 UTC
That would be consistent with what I say as well. I never thought of the connection to entranced, but that is definately consistent with the problems I was having. I'm changing the subject of this bug to reflect this new info, and hopefully I'll be able to test a newer version of entrance later this week.
Comment 11 SpanKY gentoo-dev 2004-05-25 14:42:13 UTC
seems the latest version of ssh-agent fixes this bug

please upgrade to it and re-open if i'm wrong :)