delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/11/13:31:45

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Sun, 11 Jul 2004 13:30:55 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Shawn Henderson <shawn AT techcoms DOT net>
cc: cygwin AT cygwin DOT com
Subject: Re: processor at 100%
In-Reply-To: <40F1712F.5010603@techcoms.net>
Message-ID: <Pine.GSO.4.58.0407111321410.11227@slinky.cs.nyu.edu>
References: <40F1712F DOT 5010603 AT techcoms DOT net>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Sun, 11 Jul 2004, Shawn Henderson wrote:

> when I reboot my pc my processor is at 100% the task manager reveals
> that cygserv and the sshd is the culprit.

There is no such program as "cygserv".  I presume you mean "cygrunsrv".
Also, which of the two processes consumes 100% of the CPU?  Or do they
each consume 50% (or some other numbers that add up to 100%)?

> After ending the processes this drops the processor back to its normal
> levels.

How do you end the processes?  If you used "kill", did you try to simply
stop the service (via "cygrunsrv -E sshd" or "net stop sshd") instead?

> What is strange is that I can still use these processes afterwords like
> normal but it does not max out the processor until the next time I
> reboot.

Huh?  Do you mean you can restart the service afterwards?

> I have a xp antholon 2700 with 512mb ram. what is going on? any ideas on
> how to stop this activity.
>
> Thanks

Well, you could attach to the process consuming the most CPU with strace
(for a bit) and see what that shows...  It doesn't look like this is
something others can reproduce, so you'll have to do a bit of debugging on
your system.

FWIW, as a workaround, you can change the startup type of the sshd service
to "manual", and start it yourself (with "cygrunsrv -S sshd" or "net start
sshd") whenever you need it.
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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