delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/24/17:39:19

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Sent: 24 May 2002 21:31:46 GMT
User-Agent: Microsoft-Entourage/10.0.0.1331
Date: Fri, 24 May 2002 17:31:45 -0400
Subject: Computer slows after killing rsync
From: Joseph Annino <jannino AT jannino DOT com>
To: cygwin <cygwin AT cygwin DOT com>
Message-ID: <B9142981.8A57%jannino@jannino.com>
In-Reply-To: <oikseuooav78q6rfhkqnnborelmbs0ufu5@4ax.com>
Mime-version: 1.0

I have a perl script which uses File::Rsync to run rsync over ssh, all
running on cygwin.  If I use control-c or kill to kill the rsync process,
the entire computer slows to a crawl.  However if I kill the ssh spawned by
rsync, the whole things exits gracefully without slowing down the whole
machine.

Does anyone know what could be happening here?

I am trying to write some code, using either alarm and signals, or AT, to
force a rsync to quit if it takes too long.  I get the same kind of results
whether I do the killing programmatically from within the signal handler, or
from the command line in an other cygwin window.  Any input on what could be
going on would be great.  Its a weird problem, the sort of thing I'de think
shouldn't be happening.


-- 
Joseph Annino Consulting - Perl, PHP, MySQL, Oracle, etc.
jannino AT jannino DOT com - http://www.jannino.com


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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