www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/09/14/18:32:46

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Subject: OpenSSL eating CPU.
From: David Woodhouse <dwmw2 AT infradead DOT org>
To: cygwin AT cygwin DOT com
Date: Sun, 14 Sep 2008 15:31:57 -0700
Message-Id: <1221431517.3201.27.camel@macbook.infradead.org>
Mime-Version: 1.0
X-Mailer: Evolution 2.22.3.1 (2.22.3.1-1.fc9)
X-SRS-Rewrite: SMTP reverse-path rewritten from <dwmw2 AT infradead DOT org> by bombadil.infradead.org See http://www.infradead.org/rpr.html
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I have a Windows box installed in VMware, and the only thing I use it
for is a VPN -- from my workstation, I have Evolution configured to run
'ssh $windowsbox exec openssl s_client -connect $imap_server:993' to get
at the internal IMAP server.

When the VPN disconnects, and Evolution times out and also disconnects,
I get left with openssl.exe processes eating CPU time -- probably in a
select() or poll() loop noticing that _something_ has happened to the
file descriptors, but for some reason not noticing that they're
_closed_.


This is Cygwin 1.7 (from a few weeks ago), because I need IPv6 -- the
VPN software eats the Legacy IP routes, and the only way I can SSH into
the box is over IPv6.

How would I go about debugging it? Without strace and gdb, I'm a little
lost...

-- 
dwmw2


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019