delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/11/04/12:28:49

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 11:28:31 -0600
From: Brian Ford <Brian DOT Ford AT flightsafety DOT com>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: 1.5.18+ resource leak?
In-Reply-To: <20051104151622.GB2988@calimero.vinschen.de>
Message-ID: <Pine.CYG.4.58.0511041125020.508@PC1163-8460-XP.flightsafety.com>
References: <Pine DOT CYG DOT 4 DOT 58 DOT 0511040823350 DOT 508 AT PC1163-8460-XP DOT flightsafety DOT com> <20051104151622 DOT GB2988 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
X-IsSubscribed: yes

On Fri, 4 Nov 2005, Corinna Vinschen wrote:
> On Nov  4 08:42, Brian Ford wrote:
> > 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.

Yes, I haven't seen anything I could identify either.  I think the key is
that these are mostly small files (a hundred thousand or so).  Copying
larger ones of the same volume doesn't seem to trigger the problem.

> Are you by any chance starting the X server from a service or something?

Nope.  I need to eliminate X as a variable.

> 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

Yes, I'll look into that, but I thought that was only applicable when lots
of processes were running.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained pilot...

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