public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Nick Piggin <nickpiggin@yahoo.com.au>
To: Jan-Frode Myklebust <janfrode@parallab.uib.no>
Cc: linux-kernel@vger.kernel.org
Subject: Re: OOM-killer going crazy. (was: Re: memory not released after using cdrecord/cdrdao)
Date: Mon, 26 Jul 2004 20:55:03 +1000	[thread overview]
Message-ID: <4104E307.1070004@yahoo.com.au> (raw)
In-Reply-To: <20040726091004.GA32403@ii.uib.no>

Jan-Frode Myklebust wrote:
> On Sun, Jul 25, 2004 at 09:30:38PM -0400, Ed Sweetman wrote:
> 
>>Indeed, i burned a smaller cd and got very similar results.  
> 
> 
> Same here.. After upgrading to 2.6.8-rc2 the OOM-killer is going crazy.
> It's particularly angry at the backup client 'dsmc' (from Tivoli Storage
> Manager).  I'm monitoring its usage with 'top', and 'dsmc' is not using
> more than ~150MB in either size or RSS when the OOM-killer takes it down.
> 
> The 'dsmc'-process is reporting that it's processed 2,719,000 files, and
> transfered 164.34 MB when it gets killed. i.e. it's traversed a lot of
> files, but only read about 164 MB data, so it shouldn't have filled up any
> buffer cache... 
> 
> The system still has lots of free memory (~900 MB), and also 2 GB of
> unused swap. Actually there's 0K used swap..??  
> 
> I've tried turning on vm.overcommit_memory, but it had no effect. Also
> tried changing the swappiness both up to 90% and down to 10%, but it
> never uses any swap.. ???
> 
> BTW: I had no OOM-killer problems on 2.6.7.
> 

Can you just check you CONFIG_SWAP is on and /proc/sys/vm/laptop_mode is 0,
and that you have some swap enabled.

If the problem persists, can you send a copy each of /proc/sys/fs/dentry-state,
/proc/slabinfo and /proc/vmstat before and after you run dsmc until it goes
OOM please?

Thanks.

  reply	other threads:[~2004-07-26 10:55 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-25  9:46 memory not released after using cdrecord/cdrdao (was: audio cd writing causes massive swap and crash) Eduard Bloch
2004-07-26  1:30 ` Ed Sweetman
2004-07-26  9:10   ` OOM-killer going crazy. (was: Re: memory not released after using cdrecord/cdrdao) Jan-Frode Myklebust
2004-07-26 10:55     ` Nick Piggin [this message]
2004-07-26 11:10       ` Jan-Frode Myklebust
2004-07-26 11:43         ` OOM-killer going crazy Nick Piggin
2004-07-26 12:46           ` Jan-Frode Myklebust
2004-07-27  1:00             ` Nick Piggin
2004-07-26 13:02     ` Ed Sweetman
2004-07-27  4:19       ` Nick Piggin
2004-07-27 10:07         ` Jens Axboe
2004-07-27 13:23           ` Ed Sweetman
2004-07-27 13:30             ` Nick Piggin
2004-07-27 22:38               ` Ed Sweetman
2004-07-28  1:00                 ` Nick Piggin
2004-07-28  6:30                   ` Ed Sweetman
2004-07-28  6:45                     ` Jens Axboe
2004-07-28 12:58                       ` Ed Sweetman
2004-07-28 13:31                         ` Jens Axboe
2004-07-29  0:08 ` memory not released after using cdrecord/cdrdao (was: audio cd writing causes massive swap and crash) William Lee Irwin III

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=4104E307.1070004@yahoo.com.au \
    --to=nickpiggin@yahoo.com.au \
    --cc=janfrode@parallab.uib.no \
    --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