FreeBSD 10 swapping Idle processes :/
RW
rwmaillists at googlemail.com
Fri Aug 1 12:56:57 UTC 2014
On Thu, 31 Jul 2014 09:29:16 +0200
Adi wrote:
> 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.
From what you showed before there was zero swap space in use. If what I
wrote before is right then the processes marked as swap are still in
RAM, they just don't show as active any more.
I don't know what's changed, you only used to get this behaviour when
memory got very low or vm.swap_idle_enabled was set. Possibly someones
optimized it, or maybe it's a bug. Either way I doubt it's a significant
problem, setting swap_idle_enabled is just a minor optimization.
More information about the freebsd-hackers
mailing list