Ulf Zimmermann
2010-May-21 01:00 UTC
[Ocfs2-users] fsck.ocfs2 using huge amount of memory?
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? Ulf.
Ulf Zimmermann
2010-May-21 01:06 UTC
[Ocfs2-users] fsck.ocfs2 using huge amount of memory?
Correction, kernel modules are 1.4.4, the tools and console is 1.4.3.> -----Original Message----- > From: ocfs2-users-bounces at oss.oracle.com [mailto:ocfs2-users- > bounces at oss.oracle.com] On Behalf Of Ulf Zimmermann > Sent: Thursday, May 20, 2010 6:00 PM > To: ocfs2-users at oss.oracle.com > Subject: [Ocfs2-users] fsck.ocfs2 using huge amount of memory? > > 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? > > Ulf. > > > _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users at oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-users
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