[Ocfs2-users] fsck.ocfs2 using huge amount of memory?
Joel Becker
Joel.Becker at oracle.com
Thu May 20 18:30:41 PDT 2010
On Thu, May 20, 2010 at 06:00:19PM -0700, Ulf Zimmermann wrote:
> We are setting up 2 new EL5 U4 machines to replace our current database servers running our demo environment. We use 3Par SANs and their snap clone options. The current production system we snap clone from is EL4 U5 with ocfs2 1.2.9, the new servers have ocfs2 1.4.3 installed. Part of the refresh process is to run fsck.ocfs2 on the volume to recover, but right now as I am trying to run it on our 700GB volume it shows a virtual memory size of 21.9GB, resident of 10GB and it is killing the machine with swapping (24GB physical memory).
>
> Can anyone enlighten what is going on?
How big are your filesystems? Can we get the output of
debugfs.ocfs2 -R 'stats' /dev/xxx?
Recent fsck.ocfs2 knows how to build its own I/O cache for
significant speed improvements. It only tries to get as much cache as
the filesystem actually needs, and no more than half of system memory.
That's why I'm asking for your filesystem size - I'm guessing you have
more than 12GB of used space on the filesystem, so fsck.ocfs2 is trying
to grab that much cache.
Joel
--
"In the room the women come and go
Talking of Michaelangelo."
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
More information about the Ocfs2-users
mailing list