tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Doug Wright <ppstech () nbnet ! nb ! ca>
To: tru64-unix-managers
Subject: Summary: Eek! cpu usage 98%
Date: Fri, 08 Mar 1996 17:41:20 +0000	[thread overview]
Message-ID: <96076330121238.tru64-unix-managers.marc@archive.invalid> (raw)

Thanks to all who replied, 
here is the original question plus all the replies I received. 

I have recovered...


Hi managers,
when running iostat on our DEC ALPHA 1000 4/200 running OSF/1 our cpu usage
ubder sys is constantly around 98% any ideas on what could be causing this
and how to fix it. We are running a low hit webserver and have never had
numbers like this before. All advice is appreciated!
--------------------
    Doug Wright    
ppstech@nbnet.nb.ca
-------------------

---------------------------------------------------------------------------

Hi Doug,

Do you have top or syd?  These utilities will display your utilization so 
you can get a handle on what is happening.  

You may even want to try ps augx|more to see who has the highest 
percentage of the CPU.

                                 Regards,  Dave

--------------------------------------------------------------
-   David L. Cairns                E-mail: cairns@upei.ca    -
-   Systems Manager                Voice: (902) 566 0388     -
-   UPEI Computer Services           Fax: (902) 566 0958     -
-                Charlottetown, PEI CANADA                   -

---------------------------------------------------------------------------

Regards,

Check the CPU consumers with 'ps' or get 'top' to monitor the CPU intensive
processes.

-- 

      ******************************************************************
      *         Knut Helleboe                    | DAMN GOOD COFFEE !! *
      *         Norsk Hydro a.s                  | (and hot too)       *
      * Phone: +47 55 996870, Fax: +47 55 996342 |                     *
      * Pager: +47 96 500718                     |                     *
      * E-mail: Knut.Hellebo@nho.hydro.com       | Dale Cooper, FBI    *
      ******************************************************************

---------------------------------------------------------------------------

use:

ps -o pid,ppid,user,ni,vsz,rss,start,cputime,pcpu,comm

to check which process is taking up the CPU time (specifically the pcpu
entry gives this info).

Best regards,


                                            -gjb-
                                   http://www.luc.ac.be/~gjb/
                            PGP public key: finger gjb@alpha.luc.ac.be

----------------------------------------------------------------------------

re: cause

A lot of time being spent in kernel mode; network drivers, disk
driver, file systems, etc.

Use ps(1) to see what processes are collecting a lot of CPU
time.  If you can find a copy of top, it should make that
easier.  If you can identify a single process or related
group of processes that are the cause, then you can figure
what that process does that is kernel mode intensive.

You can pick up Monitor from gatekeeper.dec.com:/pub/DEC/monitor.alpha.Z
(a compress tar archive).  It will present much of the information collected
by iostat, vmstat and netstat all at once.  With it you can see what
is going on system wide at the same time.

One type of "I/O" load that causes this type of usage is read
heavy I/O load that is hitting the buffer cache most of the
time.  With out disk I/O little time is spent waiting, and
processes are just moving data around.  Another, rather trivial
example, is a program which just does getpid() repeatedly.

-----------------------------------------------------------------------------

It may be that one of your httpd processes is hung.  Get "top" from
ftp://eecs.nwu.edu/pub/top (latest version is 3.3) and run that - it'll
tell you a lot more about what processes are doing.

Pat Wilson
paw@dartmouth.edu

--------------------
    Doug Wright    
ppstech@nbnet.nb.ca
-------------------

                 reply	other threads:[~1996-03-08 17:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox