[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#620993: closed by Ben Hutchings <ben@decadent.org.uk> (Re: Bug#620993: general: Lenny 2.6.26-2 has noticably increased swap usage, tho not swap thrashing)

I'm not arguing that, I fully expect the kernel to use it to swap *if needed*. And if this was 20MB of swap, or maybe 100MB, ok, sure, the kernel might be swapping old pages out, but 300MB+ swapping out in 2.6.26-2 where 0MB swapped out in 2.6.26-1, and I can't find anything in the kernel.org or debian kernel changelogs referencing a change along these lines doesn't really scream "working as expected". More annoying that the swap space never decreases unless swapoff/swapon occurs

The closest thing I can find was a patch from Mel Gorman, but that doesn't explain how the swap space is getting used in the first place, or more how 2 otherwise identical machines have different amounts used, 0 and in the case I'm debugging ATM 312MB, Same make/model, same debian lenny build, they're clones for all intents and purposes.

The only thing on these systems that has changed was 2.6.26-1 to 2.6.26-2, and swap wasn't being used to this extent, or staying used if it was used, prior to 2.6.26-2.
Now it almost seems that once its used it doesn't get freed.

On 4/5/2011 1:45 PM, Vincent Danjean wrote:
On 05/04/2011 21:15, Daniel Gary wrote:
I have, but fixing monitoring to suit edge cases created from a recent upgrade
doesn't make the edge cases non-issues.

This is still an issue whether you want to hide it under nagios or not,
I do not understand the issue. You have some swap and you expect the
kernel *not* to use it ? *This* would be a bug. It is better that the
kernel swap out (parts of) processes it never uses and keep the RAM for
processes that need it.


Reply to: