Strange memory stats with 2.4.13 and ext3

From: Jeremy Fitzhardinge (jeremy@goop.org)
Date: Sat Oct 27 2001 - 15:08:43 EST


Hi,

My gateway/firewall/mailserver machine has been running 2.4.13 for a day
or so now. Its basically a stock Linus kernel + ext3-0.9.13 patch (for
-pre6, with the rej fixed).

I'm getting this in /proc/meminfo:

        total: used: free: shared: buffers: cached:
Mem: 130179072 117489664 12689408 0 46854144 69632
Swap: 1073987584 10907648 1063079936
MemTotal: 127128 kB
MemFree: 12392 kB
MemShared: 0 kB
Buffers: 45756 kB
Cached: 4294965116 kB
SwapCached: 2248 kB
Active: 11392 kB
Inactive: 36784 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 127128 kB
LowFree: 12392 kB
SwapTotal: 1048816 kB
SwapFree: 1038164 kB

Needless to say, this is unexpected. I do have 128MB of RAM and a gig
of swap, but I certainly don't expect to see 4TB of cached stuff...

I have a number of ext3 filesystems:

/dev/root / ext3 rw 0 0
/proc /proc proc rw 0 0
/dev/hda3 /home ext3 rw 0 0
/dev/hda5 /var ext3 rw,noatime 0 0
none /dev/pts devpts rw 0 0

/var is data=journal, the rest are data=ordered. /var also has a number
of files and directories with the sync bit set.

The machine doesn't seem to be misbehaving at all, and there's nothing
unusual in the kernel log. It has not been under any particular load.

I have another machine here running 2.4.13+ext3 for a few days now, and
it has no oddities.

UPDATE: now that I look at it again, it has fixed itself. How odd.

        J



-
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 : Wed Oct 31 2001 - 21:00:33 EST