public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Rafal Wijata <devnull@wijata.com>
To: linux-kernel@vger.kernel.org
Subject: Odd swapping issue
Date: Wed, 23 Jul 2008 18:53:04 +0200	[thread overview]
Message-ID: <488761F0.4040906@wijata.com> (raw)

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.

             reply	other threads:[~2008-07-23 17:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-23 16:53 Rafal Wijata [this message]
2008-07-23 17:50 ` Odd swapping issue 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=488761F0.4040906@wijata.com \
    --to=devnull@wijata.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox