public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Magnus Naeslund\(b\)" <mag@bahnhof.se>
To: "Matthew Sanderson" <matthew@DaMOO.csun.edu>,
	<linux-kernel@vger.kernel.org>
Subject: Re: 2.2.17: do_try_to_free_pages fails, no OOM
Date: Tue, 7 Nov 2000 12:11:34 +0100	[thread overview]
Message-ID: <009001c048ab$7d1a7fb0$020a0a0a@totalmef> (raw)
In-Reply-To: <Pine.LNX.3.96.1001106235858.875A-100000@DaMOO.csun.edu>

From: "Matthew Sanderson" <matthew@DaMOO.csun.edu>
> I'm running 2.2.17 vanilla on a UP x86 box, and getting occasionally a
> couple of 'VM: do_try_to_free_pages failed' messages.
> The system appears to be running perfectly. It's almost out of real RAM,
> but has about 100M swap unused.
>
> I can't figure out how this happens. Specifically, how come the call to
> swap_out in do_try_to_free_pages didn't swap something out, return true,
> and avoid that message being printed?
> kswapd is not acting up in any way; the system doesn't appear to be OOM.
>
> If this isn't a bug then can we remove this printk'd message?
> If it does seem to be a bug and someone'll give me a crash course on this
> area of the VM I'll investigate further. I notice do_try_to_free_pages can
> be called either from kswapd, or under what look like memory-pressure
> conditions elsewhere.
>
> I'm not on lkml, so please cc me on any replies.
>
> --matt
>

I have this problem with one of my servers with kernel 2.2.16, and then
postgresql freaked out saying something like "AllocSet: memory exhausted".
I changed to 2.2.17, and the messages stopped turning up in the logs, but
pgsql still failes sometimes.
I have to restart the daemon completely to get it working again.
I dunno if there's something wrong with pgsql's memory/shared mem
management, or if it's the kernels fault.
(On 2.0.38 pgsql(different version tho) + box has a 700 day uptime)

Example log (2.2.16):
Oct 24 00:01:34 gimme kernel: VM: do_try_to_free_pages failed for
postmaster...
Oct 24 00:01:34 gimme kernel: VM: do_try_to_free_pages failed for klogd...
Oct 24 00:01:34 gimme kernel: VM: do_try_to_free_pages failed for caspd...
Oct 24 00:07:39 gimme kernel: VM: do_try_to_free_pages failed for
postmaster...

Magnus Naeslund

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 Programmer/Networker [|] Magnus Naeslund
 PGP Key: http://www.genline.nu/mag_pgp.txt
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  reply	other threads:[~2000-11-07 11:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-07  8:38 2.2.17: do_try_to_free_pages fails, no OOM Matthew Sanderson
2000-11-07 11:11 ` Magnus Naeslund(b) [this message]
2000-11-07 12:14   ` octave klaba
2000-11-08  3:01     ` Magnus Naeslund(b)

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='009001c048ab$7d1a7fb0$020a0a0a@totalmef' \
    --to=mag@bahnhof.se \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matthew@DaMOO.csun.edu \
    /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