Re: filesystem access slowing system to a crawl

From: William Stearns (wstearns@pobox.com)
Date: Thu Feb 20 2003 - 14:30:36 EST


Good morning, Thomas,

On Tue, 4 Feb 2003, Thomas Bätzler wrote:

> maybe you could help me out with a really weird problem we're having
> with a NFS fileserver for a couple of webservers:
>
> - Dual Xeon 2.2 GHz
> - 6 GB RAM
> - QLogic FCAL Host adapter with about 5.5 TB on a several RAIDs
> - Debian "woody" w/Kernel 2.4.19
>
> Running just "find /" (or ls -R or tar on a large directory) locally
> slows the box down to absolute unresponsiveness - it takes minutes
> to just run ps and kill the find process. During that time, kupdated
> and kswapd gobble up all available CPU time.
>
> The system performs great otherwise, so I've ruled out a hardware
> problem. It can't be a load problem because during normal operation,
> the system is more or less bored out of its mind (70-90% idle time).
>
> I'm really at the end of my wits here :-(
>
> Any help would be greatly appreciated!

        I'm sure the inode problem Andrew and Andrea have pointed out is
more likely.
        However, just out of interest, does the problem go away or become
less severe if you use "noatime" on that filesystem?

mount -o remount,noatime /my_raid_mount_point

        ?
        Cheers,
        - Bill

---------------------------------------------------------------------------
        Lavish spending can be disastrous. Don't buy any lavishes for a
while.
(Courtesy of Paul Jakma <paul@clubi.ie>)
--------------------------------------------------------------------------
William Stearns (wstearns@pobox.com). Mason, Buildkernel, freedups, p0f,
rsync-backup, ssh-keyinstall, dns-check, more at: http://www.stearns.org
Linux articles at: http://www.opensourcedigest.com
--------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:30 EST