Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Fri, 4 Nov 2005 11:28:31 -0600
From: Brian Ford <Brian.Ford@flightsafety.com>
Reply-To: cygwin@cygwin.com
To: cygwin@cygwin.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.CYG.4.58.0511040823350.508@PC1163-8460-XP.flightsafety.com>  <20051104151622.GB2988@calimero.vinschen.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-IsSubscribed: yes

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

