* 2.2.17: do_try_to_free_pages fails, no OOM
@ 2000-11-07 8:38 Matthew Sanderson
2000-11-07 11:11 ` Magnus Naeslund(b)
0 siblings, 1 reply; 4+ messages in thread
From: Matthew Sanderson @ 2000-11-07 8:38 UTC (permalink / raw)
To: linux-kernel
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
-
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.2.17: do_try_to_free_pages fails, no OOM
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)
2000-11-07 12:14 ` octave klaba
0 siblings, 1 reply; 4+ messages in thread
From: Magnus Naeslund(b) @ 2000-11-07 11:11 UTC (permalink / raw)
To: Matthew Sanderson, linux-kernel
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.2.17: do_try_to_free_pages fails, no OOM
2000-11-07 11:11 ` Magnus Naeslund(b)
@ 2000-11-07 12:14 ` octave klaba
2000-11-08 3:01 ` Magnus Naeslund(b)
0 siblings, 1 reply; 4+ messages in thread
From: octave klaba @ 2000-11-07 12:14 UTC (permalink / raw)
To: Magnus Naeslund(b); +Cc: Matthew Sanderson, linux-kernel
> Oct 24 00:07:39 gimme kernel: VM: do_try_to_free_pages failed for
> postmaster...
2.2.18pre19 should fix this problem if andrea's patch is inside.
if not, you have to patch pre18 with VM-global-2.2.18pre18-7.bz2
if you are from europe you can downlaod it from:
ftp://ftp.ovh.net/pub/linux/kernel/people/andrea/patches/v2.2/2.2.18pre18/VM-global-2.2.18pre18-7.bz2
Octave
-
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.2.17: do_try_to_free_pages fails, no OOM
2000-11-07 12:14 ` octave klaba
@ 2000-11-08 3:01 ` Magnus Naeslund(b)
0 siblings, 0 replies; 4+ messages in thread
From: Magnus Naeslund(b) @ 2000-11-08 3:01 UTC (permalink / raw)
To: octave klaba; +Cc: Matthew Sanderson, linux-kernel
From: "octave klaba" <oles@ovh.net>
> > Oct 24 00:07:39 gimme kernel: VM: do_try_to_free_pages failed for
> > postmaster...
>
> 2.2.18pre19 should fix this problem if andrea's patch is inside.
> if not, you have to patch pre18 with VM-global-2.2.18pre18-7.bz2
> if you are from europe you can downlaod it from:
>
ftp://ftp.ovh.net/pub/linux/kernel/people/andrea/patches/v2.2/2.2.18pre18/VM
-global-2.2.18pre18-7.bz2
>
> Octave
>
I can confirm that pre20 + arcangelis VM-global seems to apply fine.
No troubles here, compiling it now...
Magnus
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-11-08 3:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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)
2000-11-07 12:14 ` octave klaba
2000-11-08 3:01 ` Magnus Naeslund(b)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox