This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: ssh-agent eats 80% cpu time
On Wed, May 21, 2003 at 01:23:24PM +0200, Heinz Peter Hippenstiel wrote:
> Hi,
>
> that's not it. I attached my "cygcheck -s -v -r" (see out.txt) ... thought I
> did it initially.
> Also I made a strace with and without debug mode for ssh-agent.
> In debug mode it is waiting for some input after a few moments.
> Last lines read
> [...]
> 11430 825743 [main] ssh-agent 148 start_thread_socket: exitsock 0x358
> 482 826225 [main] ssh-agent 148 start_thread_socket: stuff_start 0x22FD24
> 1262 827487 [select_socket] ssh-agent 148 thread_socket: stuff_start
> 0x100F9BB4
> 188 827675 [main] ssh-agent 148 select_stuff::wait: m 2, ms 4294967295
>
> And here it is waiting - this is okay.
> Without -d it is not waiting but waking up after a few moments and this
> loops endlessly (see strace.txt). That's why it's eating up the CPU.
> Question is why it is not waiting?
I see the reason but not why it happens :-( The error message is
something like "socket operation on non-socket".
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/