On Mon, Jul 26, 2004 at 08:55:03PM +1000, Nick Piggin wrote:
Can you just check you CONFIG_SWAP is on and /proc/sys/vm/laptop_mode is 0,
and that you have some swap enabled.
# grep CONFIG_SWAP .config
CONFIG_SWAP=y
# cat /proc/sys/vm/laptop_mode
0
# free
total used free shared buffers cached
Mem: 2074708 1223324 851384 0 296 258376
-/+ buffers/cache: 964652 1110056
Swap: 2040244 0 2040244
If the problem persists, can you send a copy each of /proc/sys/fs/dentry-state,
/proc/slabinfo and /proc/vmstat before and after you run dsmc until it goes
OOM please?
I turned of a option (MEMORYEFFICIENTBACKUP) in 'dsmc', and then it uses a bit more memory, and crashes quicker.
644923 572300 45 0 0 0after
# name <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> : tunables <batchcount> <limit> <sharedfactor> : slabdata <active_slabs> <num_slabs> <sharedavail>after
xfs_inode 927591 980848 368 11 1 : tunables 54 27 8 : slabdata 89168 89168 0
linvfs_icache 927591 980810 384 10 1 : tunables 54 27 8 : slabdata 98081 98081 0
dentry_cache 645063 703566 144 27 1 : tunables 120 60 8 : slabdata 26058 26058 0
pginodesteal 36508after
slabs_scanned 56099472
kswapd_inodesteal 317433
pginodesteal 36536
slabs_scanned 56443602
kswapd_inodesteal 317433