public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Odd swapping issue
@ 2008-07-23 16:53 Rafal Wijata
  2008-07-23 17:50 ` Peter Zijlstra
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Rafal Wijata @ 2008-07-23 16:53 UTC (permalink / raw)
  To: linux-kernel

It happened twice recently(within one week), therefore I'm posting here.

32bit Fedora7, 2.6.23.17-88.fc7PAE, 16G ram, 12G swap, 2*dualXeon

My machine went sluggish. Tried to debug it, and observed, that free 
ram(the unused one) was increasing while swap usage was increasing as 
well. It stopped after whole swap partition was used. Then it came back 
normal. Required processes were brought back to ram and server become 
responsible again.

Now the most strange thing is that there was 5G free(unused) ram, during 
those few minutes it growed to 12G! In the very same time swap usage 
increased from ~4G to 12G.
This is irrational to me. Can anybody explain? How to prevent?

vm.swappiness was decreased to 30, to avoid excessive swap usage, but no 
avail.

It's application and nfs server/client if it matters. During that 
"memory sweep" I observed many nfsd processes(kernel threads?) in D state.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-07-24 13:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-23 16:53 Odd swapping issue Rafal Wijata
2008-07-23 17:50 ` Peter Zijlstra
2008-07-23 21:17   ` David Newall
2008-07-24  2:20     ` Dan Noé
2008-07-24  6:39     ` Peter Zijlstra
2008-07-24 11:51 ` KOSAKI Motohiro
2008-07-24 13:45 ` Rafal Wijata (NULL)
2008-07-24 13:58   ` Peter Zijlstra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox