X-Spam-Check-By: sourceware.org
Message-ID: <a5f030530603130711k3f047e4chbc9c071cda17c87f@mail.gmail.com>
Date: Mon, 13 Mar 2006 10:11:56 -0500
From: "Brett Serkez" <bserkez@gmail.com>
To: cygwin@cygwin.com
Subject: Re: cygrunsrv.exe Processor Util 100% on Windows Server
In-Reply-To: <loom.20060313T154128-550@post.gmane.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
References: <loom.20060313T154128-550@post.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k2DFC9Tg027866

> Hi- we have been using openssh on cygwin on win2k server for quite some time,
> with hundreds of user sessions (we use almost exclusively for file transfer
> [sftp]). Recently, on occasion, we notice in Task Manager that cygrunsrv.exe
> processor utilization is at 100%. During this time, csrss.exe also runs at
> about 25%. And, this process cannot be stopped from Task Manager, though
> restarting openssh will stop cygrunsrv.exe and restore csrss.exe to normal
> utilization (so, it appears that when cygrunsrv is running 100%, it's
> definitely keeping csrss busy with something). I have seen a similar posting
> regarding someone having this trouble while playing a game or using a
> sysinternals tool, but, we are doing neither.
>
> The overload is not related to usage (either upload or download), it doesn't
> happen even when we have multiple concurrent sessions running.
>
> We are not running many applications on the Win2K server.

I have previously posted on this topic, having the same issue.  I
found there was a setting in sshd that inhibited an extra fork (for
extra security) and also switching from bash to tcsh resolved the
issue.  I can search for this previous posting if you cannot locate
it.

Interestingly I have found that this *seems* to only happen on Win2K,
but I only have this setup on a limited number of WinXP systems
(without the above workarounds).

Brett

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


