Re: lot of VM problem with 2.4.23
From: Octave
Date: Sun Dec 21 2003 - 13:49:48 EST
> How much swap do you have in your system?
>
> This is happening because the system is unable to free memory (you
> probably ran out of swap for some reason).
Marcelo,
You can run this easy script. 2.4.19 takes about 30 minutes
to kill all process. 2.4.23 takes about 60 minutes.
I think, server crashs when VM kills a process like watchdog (why ?).
Octave
# head -n 100000 /dev/urandom > file
# cat > full.pl
#!/usr/bin/perl
open (F,"file");@F=<F>;close(F);
for (;;) { push @F,@F; }
# chmod 755 full.pl
# for i in `seq 1 100`; do ./full.pl & done
[1] 767
[2] 768
[3] 769
[4] 770
[5] 771
[...]
# tail -f /var/log/messages
Dec 21 18:55:32 stock kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
Dec 21 18:55:32 stock kernel: VM: killing process full.pl
Dec 21 18:55:37 stock kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
Dec 21 18:55:37 stock kernel: VM: killing process full.pl
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/