cam-k 1161 MB of file-cache is normal after /etc/daily
runs. On a QEMU 4GB VM with the settings I gave before, I see this:
$ top -n -o res | head -n6
load averages: 0.00, 0.00, 0.00; up 0+00:04:22 08:04:24
5 processes: 4 sleeping, 1 on CPU
CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
Memory: 92M Act, 4K Wired, 14M Exec, 51M File, 3768M Free
Swap: 8000M Total, 8000M Free / Pools: 47M Used / Network:
$ sudo sh -c 'umask 022; sh /etc/daily >/dev/null 2>&1'
$ top -n -o res | head -n6
load averages: 0.41, 0.11, 0.04; up 0+00:05:11 08:05:13
5 processes: 4 sleeping, 1 on CPU
CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
Memory: 1637M Act, 216K Inact, 4K Wired, 15M Exec, 1590M File, 1609M Free
Swap: 8000M Total, 8000M Free / Pools: 659M Used / Network:
$
That's 51 MB of file-cache before /etc/daily
runs and 1590 MB afterwards. I have more files on the disk, so more data goes into the file-cache.