*BSD News Article 75068


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.eng.convex.com!newshost.convex.com!newsgate.duke.edu!news.mathworks.com!newsfeed.internetmci.com!news.emeraldis.com!david
From: david@emeraldis.com (David G. Cannon)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Help with major slowdown problems needed BAD.
Date: Tue, 30 Jul 96 23:25:07 GMT
Organization: Emerald Internet Services
Lines: 63
Message-ID: <4tm6hq$knq@jade.emeraldis.com>
References: <4tj5qa$5mk@atheria.europa.com>
NNTP-Posting-Host: david.emeraldis.com
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
X-Newsreader: News Xpress 2.0 Beta #2

Try taking a look at your CPU usage for each process. You can do this by 
typing the following:

ps -aux|less

If you prefer to use "more" as your pager, feel free to do so. This will list 
the processes running on your machine by order of CPU usage. The process that 
is taking the most CPU power will be listed first. Take a look and make sure 
none of these look out of the ordinary. For your normal processes (i.e. named, 
httpd, syslogd, etc...) you shouldn't see any over say 2.0%. Now this is 
assuming they are idle. If they aren't you will see higher percentages. You 
can take a look at them as they are not idle by using this command:

watch -n 1 ps -aux

This will updat it every second. Use Ctrl-C to break out of it. I hope this 
helps. Here's an example of some processes on my system which are idle:


                     CPU%
root        71  1.4  7.8  4948 4900  ??  Ss   17Jul96   91:35.36 named
root         0  0.0  0.0     0    0  ??  DLs  17Jul96    0:08.51 (swapper)
root         1  0.0  0.3   144  192  ??  Is   17Jul96    2:14.97 /sbin/init --
root         2  0.0  0.0     0   12  ??  DL   17Jul96    0:01.92 (pagedaemon)
root        15  0.0  0.1    68   48  ??  IWs  17Jul96    0:00.01 asyncd 2
root        17  0.0  0.1    68   48  ??  IWs  17Jul96    0:00.01 asyncd 2
root        23  0.0 12.3   748 7764  ??  Is   17Jul96    0:11.09 mfs -o rw -s1
root        64  0.0  0.3   128  204  ??  Ss   17Jul96    3:56.95 syslogd
root        67  0.0  0.1   104   72  ??  IWs  17Jul96    0:00.01 portmap
root       122  0.3  0.1    72   64  ??  Ss   17Jul96   45:23.96 update
root       124  0.0  0.3   284  192  ??  Ss   17Jul96    0:21.57 cron
root       131  0.0  0.1    72   32  ??  IW   17Jul96    0:00.00 nfsiod 4
root       132  0.0  0.1    72   32  ??  IW   17Jul96    0:00.00 nfsiod 4
root       133  0.0  0.1    72   32  ??  IW   17Jul96    0:00.01 nfsiod 4
root       134  0.0  0.1    72   32  ??  IW   17Jul96    0:00.01 nfsiod 4


In article <4tj5qa$5mk@atheria.europa.com>, tysman@europa.com wrote:
>  
>    Hello,
>    We are running BSD OS ver 2.1 on a p120 with 64 megs of ram
>  and we are experiencing a very unusual problem. When we boot the
>  system, it runs like a champ, for anywhere between 2 to 30 hours, then
>  it boggs down REAL bad, gets really slow, and take FOREVER to change
>  dirs, or do anything else for that matter. Now we are not overloading
>  the system with users, as there are only three of us at this point.
>  We are at a loss here as to where to look to find the trouble, or how
>  to track it down to being a hardware, or software problem.
>  I am pulling my hair out. Of course the two month support period has
>  been over for 5 months now, so I am asking for some suggestions here.
>  BTW we arew not pulling a newsfeed yet either.
>  Has anyone else experienced this, or anything similar, if so how did
>  you correct it? Even suggestions as to where to look, possible cause,
>  anything at all would be GREATLY appreciated.
>  Please email any help you may be able to offer me to either:
>  richg@scnet.net  or
>  tysman@europa.com
>  
>  Thank you in advance for any, and all help anyone could offer.
>  
>  Rich Grimek
>  
>