delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/06/06:28:44

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
Message-ID: <3F30D849.8D2AA00C@itsec-ss.nl>
Date: Wed, 06 Aug 2003 12:28:25 +0200
From: "R. Boon" <r DOT boon AT itsec-ss DOT nl>
Organization: ITsec Security Services B.V.
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Win2k and cygwin memory leak

Hello list,

I noticed a problem with cygwin. It seems that some installations of
cygwin running on windows 2000 are leaking memory. The memory leak is
located in some kernel part of the operating system since it is not
cleaned up after all user space applications are close. 

This issue is reported previously to the cygwin list. This issue is
reported as a make failure:
http://www.cygwin.com/ml/cygwin/2003-04/msg02219.html

And as an issue with fork:
http://www.cygwin.com/ml/cygwin/2003-02/msg00551.html

I can confirm the reported symptoms. Every time I start a child process,
I loos some memory. Once all my memory and swap is depleted, I cannot
start new applications. Even closing running applications causes
trouble. A reboot is needed to restore the system. 

As an additional symptom I get the following question when I quit
cygwin. 
Terminate batch job (Y/N)?

This seems to indicate that child processes are not terminated and/or
completely removed from memory.

I tested this issue on four hosts
1. a Win2k SP4 with Cygwin 1.3.22 (128 Mb)
2. a Win2k SP4 with Cygwin 1.5.1 (128 Mb)
3. a Win2k SP4 with Cygwin 1.3.22 (192 Mb)
4. a Win2k SP4 with Cygwin 1.3.22 (256 Mb) <- not affected

Host nr. 4 is not affected by this issue. None of the tests lead to even
the slightest sign of a memory leak. All systems are installed with the
basic cygwin install using the setup.exe program from www.cygwin.com

Is there a solution to this issue that is never posted? Has anyone with
the same issue tried to fiddle with a memory limit setting of some sort?
(and did is work?)

Thank you for your time

greetings
Rogier

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