delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/12/09/08:12:06

X-Recipient: archive-cygwin AT delorie DOT 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=uCMtRMyTZH+fUoX3aiLeLCNkUcNhVnuGP3fZteMu5wY
pcQq9J5Quo80ne9df5mA2hbxA63e3Xn8m1CH/xXh0otoUsVaDOU9MAe8cIG9cYtn
i9WTChhxLMwaEJsVhez4yeZaqmue+o9x/ZCCu+JnU+VfBv9AVOHTCG3fzGlMnWv0
=
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=pkuRiScTRmndrmVF22+9v+V7yZU=; b=U4OnJLMkOLR4NLoRZ
9SeVVP9KwNVHJUHgkJDah19U3x/EIfXzK07WOkuP5Ll1gzsyUnjNkj5vA1aNu9Fb
cwSXNLkG2I8WU+ukzHE0f7rje38r1CpCyMy2fYJU47vuvAJ29q32a6ptboZlienJ
kfkPatIctPj8yKAQQCltsOeEjQ=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_RP_RNBL,SPF_PASS autolearn=no version=3.3.2
X-HELO: www.titera.eu
Message-ID: <5486F50A.1000406@titera.eu>
Date: Tue, 09 Dec 2014 14:11:38 +0100
From: =?UTF-8?B?UGV0ciBUaXTEm3Jh?= <petr AT titera DOT eu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Possible resource leak
References: <5486B88D DOT 1040303 AT titera DOT eu> <5486C7AC DOT 1090306 AT gmail DOT com> <5486EA1C DOT 3060606 AT titera DOT eu> <20141209130551 DOT GK3810 AT calimero DOT vinschen DOT de>
In-Reply-To: <20141209130551.GK3810@calimero.vinschen.de>

On 9.12.2014 14:05, Corinna Vinschen wrote:
> On Dec  9 13:25, Petr Titěra wrote:
>> On 9.12.2014 10:58, Marco Atzeri wrote:
>>> On 12/9/2014 9: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
>>>>
>>> without the scripts or a simplified version that exhibits the issue,
>>> it is impossible to state if it is due to any cygwin programs or it is
>>> due to https://cygwin.com/acronyms/#PEBCAK
>>>
>> Hello,
>>
>> I can understand this. And it might definitely be PEBKAC. But what I see is
>> real and I do not thing I've screwed my scripts so much.
>>
>> Attached is simple reproducer I was able to get from my scripts. If you will
>> test it you will have to change base url in fetchData.sh.
>>
>> When I run this script for a while I see a lot of 'zombie' bash, sleep and
>> wget processes in RamMap (they do not show in task manager). I can provide
>> screenshot.
>>
>> If that would matter I run this scrips from truecrypted disk.
> I don't know if that matters but I don't think so.  Running some
> virus scanner (see https://cygwin.com/faq/faq.html#faq.using.bloda)
> may be the culprit.  FWIW, I can't reproduce the issue with the script
> you provided.  Process number (even hidden ones) and memory usage are
> stable.
Hello,

thanks for pointer. Antivirus can be definitelly problem here. I will 
try to reproduce this on computer without any antivirus.

Petr Titera

>
> Corinna
>


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

- Raw text -


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