delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/11/04/10:16:55

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Fri, 4 Nov 2005 16:16:22 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.5.18+ resource leak?
Message-ID: <20051104151622.GB2988@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <Pine DOT CYG DOT 4 DOT 58 DOT 0511040823350 DOT 508 AT PC1163-8460-XP DOT flightsafety DOT com>
Mime-Version: 1.0
In-Reply-To: <Pine.CYG.4.58.0511040823350.508@PC1163-8460-XP.flightsafety.com>
User-Agent: Mutt/1.4.2i

On Nov  4 08:42, Brian Ford wrote:
> I have performed the following operation many times over the past few
> months, and every time have eventually hung the machine in some form.
> The hang mainfests itself in different ways on different machines and with
> different Cygwin DLL versions (1.5.18 and various snapshots).  Here is one
> example of the hang:
> 
> In an xterm under Xwin -multiwindow on a dual-core dual-processor AMD
> Opteron I execute (all machines tested have been dual-core, but not
> necessarily dual-processor):
> 
> ssh user AT solaris_machine 'cd some_directory && tar cf -
> some_other_directory' | tar xvf -
> 
> These are large copies of several hundred megabytes.  Here was the result:
> 
> tar some_file_path: Cannot write: Permission denied
> 4 [main] -bash 2304 fork_copy: user/cygwin data pass 2 failed,
> 0x610000..0x627000, done 0, windows pid 3132, Win 32 error 1450

I've just copied 21 Gigs from a Linux box to a WIndows box using the
exact same ssh|tar as you did.  There's nothing pointing to any kind of
memory or handle leak while doing that and the operation terminated
successfully.

Are you by any chance starting the X server from a service or something?
Maybe that's a problem induced by the heap allocation as Chris has 
already noted in a few threads.  Er... lemme see...
http://support.microsoft.com/default.aspx?scid=kb;en-us;824422


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          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/

- Raw text -


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