FreeBSD 10 swapping Idle processes :/
Adi
adirmj at gmail.com
Thu Jul 31 07:29:12 UTC 2014
Hello
> That looks odd, the output of top shows 0 swap usage, but also 0
> resident memory for most of the processes...
Yes very odd. After server restart or after restart all deamons
processes working normally (in memory not in SWAP) for few (1-3) hours.
Then start odd swapping. And this is not temporary (for the possible
disappearance of the "swapping trigger") only lasting behavior.
Process is moved from SWAP to memory if is not idle. And back
to SWAP after idle few seconds.
Now after 10 h from write this thread still 84 processes is in swap.
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 84 14863M 682M 315 0 0 0 331 546 0 0 89 1769
722 0 0 100
After restart all processes
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 13908M 1213M 318 0 0 0 335 547 0 0 89 1775
722 0 0 100
SWAP partition is gmirrored - it has no significance ;)
# Device Mountpoint FStype Options Dump Pass#
/dev/mirror/swap none swap sw 0 0
/dev/mirror/root / ufs rw 1 1
/dev/mirror/tmp /tmp ufs rw 2 2
/dev/mirror/var /var ufs rw 2 2
/dev/mirror/usr /usr ufs rw 2 2
/dev/mirror/home /home ufs rw 2 2
tmpfs /var/pgsql/data/pg_stat_tmp tmpfs
rw,size=2m,uid=pgsql,gid=pgsql,nosuid 0 0
Similar problem is in thread:
http://lists.freebsd.org/pipermail/freebsd-hackers/2014-January/044040.html
Best Regards
More information about the freebsd-hackers
mailing list