delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/10/05:48:13

X-Spam-Check-By: sourceware.org
Message-ID: <97b0303c0604100248k4fff32fbk56defb725afccc91@mail.gmail.com>
Date: Mon, 10 Apr 2006 16:48:00 +0700
From: "Alexander Herrmann" <ping2weltall AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygrunsrv.exe with csrss.exe cause 100% system load with API-Call
In-Reply-To: <443A1EE1.9030609@avira.com>
MIME-Version: 1.0
References: <443A1EE1 DOT 9030609 AT avira DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k3A9mCjU018608

On 4/10/06, Patrick Lichtner <patrick DOT lichtner AT avira DOT com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi All,
>
> we are an antivirus vendor and customers can't update our software with
> OpenSSH for Windows (cygwin1.dll v 1005.10.0.0) running:
>
> The cygwin process "cygrunsrv.exe" together with the Microsoft
> Client/Server Runtime Server Subsystem ("csrss.exe") cause the load as
> soon as our "update.exe" is triggered.
>
> We do NOT touch any of these processes with updater or scanner. So
> there's NO chance to exclude anything here. WHAT we do is to browse all
> processes for explorer to find the current users desktop before starting
> our apps. This is done only on NT/W2K. We perform a
> FindFirstProcess()/FindNextProcess(). So we simply created a testapp
> which caused the same effect: If this tool is started, cygwin or csrss
> needs 100% of the CPU. The tool use only windows API calls and so the
> described behaviour is a bug in CYGWIN.
> Examples can be also taken from the MSDN help (ProcessList). As soon as
> the API Call "Process32First" is called and the process "csrss" is
> attached, the CPU gets 100%. The process list is required by us for
> different tasks.
>
> So what can we do? Thanks in advance for your feedback.
Attach the testprogram so we can figure out what's going on. Dont
expect anybody really looks into MSDN help (ProcessList). There not
many M$ Lovers here -imo - otherwise cygwin wouldn't extist.
Alex


--
Take a look - not only for computer people ;) http://www.seabreeze.co.th

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