Date: Fri, 1 Aug 2014 13:56:52 +0100 From: RW <rwmaillists@googlemail.com> To: freebsd-hackers@freebsd.org Subject: Re: FreeBSD 10 swapping Idle processes :/ Message-ID: <20140801135652.264bdd4d@gumby.homeunix.com> In-Reply-To: <53D9F04C.6080607@gmail.com> References: <53D962A7.5090105@gmail.com> <53D97C71.3050806@freebsd.org> <53D9F04C.6080607@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 31 Jul 2014 09:29:16 +0200 Adi wrote: > Hello >=20 > > That looks odd, the output of top shows 0 swap usage, but also 0 > > resident memory for most of the processes... >=20 > Yes very odd. After server restart or after restart all deamons > processes working normally (in memory not in SWAP) for few (1-3) > hours. >=20 > Then start odd swapping. And this is not temporary (for the possible > disappearance of the "swapping trigger") only lasting behavior. >=20 > Process is moved from SWAP to memory if is not idle. And back > to SWAP after idle few seconds. =46rom 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140801135652.264bdd4d>