X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=H4/h0TL3/DMcJ0TLN74ikgJQkSit5msl3tPny7FBKBT
	OZoIQWTZMI9qTWzKuJkO22hBuAU3/3lqx6SIJKEKe4FpN/bYRgiz0p4Fspwx+HCi
	DgMBiwt6d2yEbTdzsxjgxTvVluKi57UtTibmBoQyRonTSzCiuf/svmn2uTmkHtLU
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=8cRu2AnARPwj5DL1D8bRgbJe7fI=; b=DIcMxUgratqGpDG/6
	KZpLgby47dwCIQ5gthOt8w7IIqBfQz1+ScwMKFRD82J6ilHwohSjcmGkyYwBNFyQ
	CtmwlMO1SR6A+eD7yIsrVWtXXxmhNNftM33GFa/YrJA31lZoTLGtE592XqlynY37
	QITpMoR7aP+oPHF7PCP6EQ47wo=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: na01-bl2-obe.outbound.protection.outlook.com
Message-ID: <54877270.8060900@coverity.com>
Date: Tue, 9 Dec 2014 17:06:40 -0500
From: Tom Honermann <thonermann@coverity.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: <cygwin@cygwin.com>
Subject: Re: Possible resource leak
References: <5486B88D.1040303@titera.eu>
In-Reply-To: <5486B88D.1040303@titera.eu>
Content-Type: text/plain; charset="UTF-8"; format=flowed
Content-Transfer-Encoding: 8bit
X-ClientProxiedBy: BY2PR08CA054.namprd08.prod.outlook.com (10.141.248.172) To CO2PR05MB602.namprd05.prod.outlook.com (10.141.198.19)
X-Microsoft-Antispam: UriScan:;
X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:CO2PR05MB602;
X-Exchange-Antispam-Report-Test: UriScan:;
X-Exchange-Antispam-Report-CFA-Test:	BCL:0;PCL:0;RULEID:(601002);SRVR:CO2PR05MB602;
X-Forefront-PRVS: 0420213CCD
X-Forefront-Antispam-Report:	SFV:NSPM;SFS:(10019020)(6049001)(6009001)(51704005)(24454002)(189002)(199003)(377454003)(479174003)(87976001)(97736003)(62966003)(106356001)(107046002)(450100001)(42186005)(99136001)(110136001)(117636001)(77156002)(99396003)(105586002)(120916001)(59896002)(15395725005)(15975445007)(68736005)(77096005)(107886001)(40100003)(122386002)(46102003)(2351001)(66066001)(92566001)(20776003)(47776003)(64706001)(4396001)(86362001)(50466002)(31966008)(50986999)(36756003)(64126003)(87266999)(101416001)(65816999)(23676002)(65806001)(65956001)(76176999)(19580395003)(54356999)(83506001)(21056001)(7099022)(62816006);DIR:OUT;SFP:1102;SCL:1;SRVR:CO2PR05MB602;H:[10.222.1.92];FPR:;SPF:None;MLV:ovrnspm;PTR:InfoNoRecords;MX:1;A:1;LANG:en;
X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:;SRVR:CO2PR05MB602;
X-OriginatorOrg: coverity.com
X-IsSubscribed: yes

This sounds like something I diagnosed a while back.  I see you have 
Lenovo utilities in your PATH.  There is a defect in Lenovo's RapidBoot 
Shield Version 1.23 that results in process handles (for all processes) 
not getting closed.  This causes these processes to remain in memory as 
you described (in POSIX terms, as zombie processes).  If you do have 
RapidBoot Shield installed, try disabling (via control panel - Lenovo - 
RapidBoot Shield) or uninstalling it.  Lenovo has discontinued this utility.

Lenovo's RapidBoot Shield should be added to the BLODA list.

Tom.

On 12/09/2014 03:53 AM, Petr Titěra wrote:
> Hello,
>
> I'm dealing with possible resource leak in cygwin on Windows-7. I'm
> running a script which repeatedly calls another script (every 5
> seconds). After a while script ends with memory error. All my memory
> seems to be eaten by Page Table entries and in the memory map I see a
> lot of cygwin processes with 4 pages allocated (I can provide screenshot
> if neccessary). Is this known issue?
>
> Attached is cygcheck output without any modification.
>
>
> Petr Titera
>
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

