Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 21 May 2003 14:57:46 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: ssh-agent eats 80% cpu time Message-ID: <20030521125746.GD920@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <1053502004 DOT 18017 DOT ezmlm AT cygwin DOT com> <000b01c31f71$acbd04a0$42529a09 AT IBMJY56AED2CIQ> <20030521090507 DOT GE30676 AT cygbert DOT vinschen DOT de> <000f01c31f8b$674ed280$42529a09 AT IBMJY56AED2CIQ> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000f01c31f8b$674ed280$42529a09@IBMJY56AED2CIQ> User-Agent: Mutt/1.4.1i 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 AT cygwin DOT 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/