i'm have issues with UFS filesystem... I use rtorrent with heavy load (about 100-200GB LAN transfer) and i have huge pool of Active memory staying till i remount affected filesystem, after it memory gets freed. Its not freed after i quit rtorrent it stays active here. Look after umount affected filesystem on which torrent files are (/nas/STM3750330AS) memory was freed..
FreeBSD 8.1-PRERELEASE (25 May 2010) i think rev. 208543
FreeBSD 8.1-PRERELEASE (25 May 2010) i think rev. 208543
Code:
Mem: 2765M Active, 484M Inact, 538M Wired, 118M Cache, 418M Buf, 47M Free
Swap: 4096M Total, 202M Used, 3893M Free, 4% Inuse
umount -a -t nullfs
Mem: 2764M Active, 484M Inact, 538M Wired, 118M Cache, 418M Buf, 48M Free
Swap: 4096M Total, 202M Used, 3893M Free, 4% Inuse
vmstat
procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr ad0 ad1 in sy cs us sy id
0 0 0 1776M 165M 2542 26 27 75 1679 3259 0 0 9119 79756 53125 3 10 88
Mem: 2765M Active, 484M Inact, 538M Wired, 118M Cache, 418M Buf, 47M Free
Swap: 4096M Total, 202M Used, 3893M Free, 4% Inuse
mount
/dev/ada0s2a on / (ufs, local)
devfs on /dev (devfs, local, multilabel)
/dev/ada0s2e on /usr (ufs, local, soft-updates)
/dev/ada0s2d on /var (ufs, local, soft-updates)
/dev/ada0s2f on /jail (ufs, local, noatime, soft-updates)
/dev/ada0s3d on /nas/STM3750330AS (ufs, local, read-only, soft-updates)
/dev/ada1s1d on /nas/ST31000528AS (ufs, local, read-only, soft-updates)
/dev/ada2s1d on /nas/ST31000340NS (ufs, local, read-only, soft-updates)
/dev/md0 on /tmp (ufs, asynchronous, local, noatime)
umount /nas/ST31000340NS
Mem: 2764M Active, 484M Inact, 537M Wired, 118M Cache, 418M Buf, 49M Free
Swap: 4096M Total, 202M Used, 3893M Free, 4% Inuse
umount /nas/ST31000528AS
Mem: 2765M Active, 484M Inact, 537M Wired, 118M Cache, 418M Buf, 47M Free
Swap: 4096M Total, 202M Used, 3893M Free, 4% Inuse
vmstat
procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr ad0 ad1 in sy cs us sy id
0 0 0 1776M 166M 2533 26 27 75 1673 3247 0 0 9086 79465 52933 3 10 88
umount /nas/STM3750330AS (This is affected by rtorrent filesystem!!!)
Mem: 81M Active, 3984K Inact, 135M Wired, 528K Cache, 418M Buf, 3730M Free
Swap: 4096M Total, 202M Used, 3893M Free, 4% Inuse
vmstat
procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr ad0 ad1 in sy cs us sy id
0 0 0 1776M 3731M 2529 26 27 75 1700 3242 0 0 9074 79357 52862 3 10 88