2000-12-10 13:51:00

by jurriaan

[permalink] [raw]
Subject: 2.2.18pre25: VM: do_try_to_free_pages failed for

for almost everything:

Dec 10 13:33:47 middle kernel: VM: do_try_to_free_pages failed for kswapd...
Dec 10 13:33:50 middle kernel: VM: do_try_to_free_pages failed for gdb...
Dec 10 13:33:50 middle last message repeated 9 times
Dec 10 13:33:57 middle kernel: VM: do_try_to_free_pages failed for kswapd...
Dec 10 13:33:59 middle kernel: VM: do_try_to_free_pages failed for gdb...
Dec 10 13:34:04 middle last message repeated 13 times
Dec 10 13:34:05 middle kernel: VM: do_try_to_free_pages failed for init...
Dec 10 13:34:06 middle last message repeated 12 times
Dec 10 13:34:07 middle kernel: VM: do_try_to_free_pages failed for gdb...
Dec 10 13:34:07 middle last message repeated 12 times
Dec 10 13:34:07 middle kernel: VM: do_try_to_free_pages failed for vmware-nmbd...
Dec 10 13:34:07 middle kernel: VM: do_try_to_free_pages failed for cron...
Dec 10 13:34:07 middle last message repeated 2 times
Dec 10 13:34:07 middle kernel: VM: do_try_to_free_pages failed for slrnpull...
Dec 10 13:34:07 middle kernel: VM: do_try_to_free_pages failed for klogd...
Dec 10 13:34:07 middle kernel: VM: do_try_to_free_pages failed for klogd...
Dec 10 13:34:07 middle kernel: VM: do_try_to_free_pages failed for cron...
Dec 10 13:34:08 middle last message repeated 5 times
Dec 10 13:34:09 middle kernel: VM: do_try_to_free_pages failed for gdb...
Dec 10 13:34:22 middle last message repeated 10 times
Dec 10 13:34:22 middle kernel: VM: do_try_to_free_pages failed for slrnpull...
Dec 10 13:34:24 middle last message repeated 2 times
<tried to log in over the network, didn't work, pressed C-A-D and
watched fsck mull over 60+ Gb>

Now it was true I forgot to re-instate the mem=512M line for loadlin,
but even so:
/usr/bin/free:
total used free shared buffers cached
Mem: 63740 56064 7676 22160 23032 17396
-/+ buffers/cache: 15636 48104
Swap: 530104 304 529800

should be enough to run slrnpull and expire a newsspool with about
2,000,000 files, right?

Most messages I was able to dig up about this mentioned 2.2.17 and
suggested upgrading to 2.2.18pre. I didn't think there is anything
changed between 2.2.18pre25 and 2.2.18pre26(2.2.18 to be) in VM
handling, so the problem still seems to persist. What are the
suggestions? Moving to 2.4 is not possible, since the isdn compression
module isdn_lzscomp.o won't work in 2.4.

Greetings,
Jurriaan
--
(A)bort, (R)etry, (I)gnore, (V)alium?
GNU/Linux 2.2.18pre25 SMP 2x1117 bogomips load av: 1.05 1.91 1.11


2000-12-10 20:02:28

by Szabolcs Szakacsits

[permalink] [raw]
Subject: Re: 2.2.18pre25: VM: do_try_to_free_pages failed for


thunder7 wrote:
> for almost everything:
>Dec 10 13:33:47 middle kernel: VM: do_try_to_free_pages failed for kswapd...
[....]
> <tried to log in over the network, didn't work, pressed C-A-D and
> watched fsck mull over 60+ Gb>

You could try out my patch that "reserves" virtual memory for root, so
you should be able to login/ssh and clean up if your "faulty" or
memory hungry daemons aren't run by root -- it works fine for me
and I didn't get negative feedback so far:
http://mlf.linux.rulez.org/mlf/ezaz/reserved_root_vm+oom_killer-5.diff
More on the patch,
http://boudicca.tux.org/hypermail/linux-kernel/2000week48/0624.html

> Most messages I was able to dig up about this mentioned 2.2.17 and
> suggested upgrading to 2.2.18pre. I didn't think there is anything
> changed between 2.2.18pre25 and 2.2.18pre26(2.2.18 to be) in VM
> handling, so the problem still seems to persist. What are the
> suggestions? Moving to 2.4 is not possible, since the isdn
> compression module isdn_lzscomp.o won't work in 2.4.

Andrea Arcangeli's VM global patch got good feedback and according to
Alan Cox it's a potential candidate for 2.2.19,
ftp://ftp.nl.kernel.org/pub/linux/kernel/people/andrea/patches/v2.2/2.2.18pre18/VM-global-2.2.18pre18-7.bz2

Good luck,

Szaka