On Wed, 25 Jun 2003, Ben Donohue wrote:

> Hi Slugs,
> I have a Mandrake 9 box. Turn it on and after a week or so of running
> the hard disk access light seems to stay almost constantly on. This will
> continue for about a week and then stop back to normal ie very low
> activity. Give it another week or two and then another week or so of
> hard access again. If I reboot the box (ah windows training) the access
> is normal till a week or so and then heavy access all over again.

I mostly use FreeBSD, and the tools for monitoring this sort of thing are
a bit different to linux, but these should be useful.

Could be swap that's getting hammered (check your memory use) but the way
the problem comes and goes is a bit odd.  You should have vmstat on linux,
and that should give you a fair idea of how much swap activity is going
on.  As far as I know, sysstat is BSD sepcific, but if available to
you it's quite nice.

Use lsof to have a look at what file handles are open from each process on
your system.  Browsing through there thinking about why things are open
might turn something up.

Use top or ps to see what state processes are in.  You're interested in
any state which suggests a process might be waiting for the disk.  You
could use this info to cut down the number of processes you pay attention
to the lsof output for.

Andrew McNaughton


--

No added Sugar.  Not tested on animals.  If irritation occurs,
discontinue use.

-------------------------------------------------------------------
Andrew McNaughton           In Sydney
                            Working on a Product Recommender System
[EMAIL PROTECTED]
Mobile: +61 422 753 792     http://staff.scoop.co.nz/andrew/cv.doc



-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to