delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/21/09:48:02

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
content-class: urn:content-classes:message
Subject: RE: Looks like Cygwin don't close sometimes event descriptors
Date: Fri, 21 Sep 2001 17:49:17 +0400
MIME-Version: 1.0
Message-ID: <013D9CF8A2F6D3119136009027DDFA470226B0CE@biolink.bti.inc>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0
Thread-Topic: Looks like Cygwin don't close sometimes event descriptors
Thread-Index: AcFCoYW2Lph07A9AQmW+9AHash9UmgAAcZxQ
From: "Ivan Begtin" <ibegtin AT biolink DOT com DOT ru>
To: <cygwin AT cygwin DOT com>
X-MDRemoteIP: 212.5.113.5
X-Return-Path: ibegtin AT biolink DOT com DOT ru
X-MDaemon-Deliver-To: cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id JAA18031

Hi!
  Well, Process Explorer don't show these leaking events at all, only
command-line
utility handle.exe from SysInternals shows them (don't know why).
Ok. I will try Cygwin 1.3.3 as soon as possible.

Ivan

-----Original Message-----
From: egor duda [mailto:deo AT logos-m DOT ru]
Sent: Friday, September 21, 2001 5:27 PM
To: Ivan Begtin
Cc: cygwin AT cygwin DOT com
Subject: Re: Looks like Cygwin don't close sometimes event descriptors


Hi!

Friday, 21 September, 2001 Ivan Begtin ibegtin AT biolink DOT com DOT ru wrote:

please, keep your answers to the list. i'm intentionally setting
Reply-To: address to point to the list because i don't want to receive
2 copies of each message.

IB> I use W2K Prof and still haven't tried this scenario with 1.3.3.

then i think you should try to. 1.3.3 contains a lot of fixes/changes

IB> As I remember I had same problem with v1.1.7 then I ported
multithreaded
IB> program to Cygwin. 
IB> Process Explorer (HandleEx in past) don't show their names, just
number.
IB> Console utility handle show them but also without names.

do you mean it doesn't show names of all events or only those that are
leaking? HandleEx does show the names for named events, so we have 2
possibilities here -- either these are anonymous events (which may
help to track them down) or Process Explorer is missing needed
functionality in which case you should try to use original HandleEx.

IB> -----Original Message-----
IB> From: egor duda [mailto:deo AT logos-m DOT ru]
IB> Sent: Friday, September 21, 2001 4:11 PM
IB> To: Ivan Begtin
IB> Cc: cygwin AT cygwin DOT com
IB> Subject: Re: Looks like Cygwin don't close sometimes event
descriptors

IB> Hi!

IB> Friday, 21 September, 2001 Ivan Begtin ibegtin AT biolink DOT com DOT ru wrote:

IB>>   I am using cygwin v1.3.2 for now and I've tried to compile
IB> net-snmp
IB>> v4.2.1with cygwin.

IB> have you tried this scenario with 1.3.3? what OS are you using?

IB>> Started snmpd.exe.
IB>>   When I launched "snmpwalk localhost public" number of descriptors
IB> used
IB>> by snmpd.exe immediately growed
IB>>   So after starting "snmpwalk localhost public" in simple cycle.
IB> Number
IB>> of descriptors reached 12000 (or more) and they all were open long
IB> time
IB>> (until i stopped snmpd.exe).
IB>>   Launching handle.exe form http://www.sysinternals.com shows that
IB> most
IB>> of open descriptors are Events. 
IB>>   Well, I just want to know is it bug or it's normal and shouldn't
IB> be a
IB>> problem? 

IB> and by launching HandleEx from sysinternals you've found that their
IB> names are ...?

IB> it's clearly a bug, though it's not clear yet whether it's cygwin of
IB> snmpd bug.

Egor.            mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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