Re: lot of VM problem with 2.4.23

From: Octave
Date: Sun Dec 21 2003 - 10:06:22 EST


On Sun, Dec 21, 2003 at 12:37:44PM -0200, Marcelo Tosatti wrote:
>
>
> On Sun, 21 Dec 2003, Peter Zaitsev wrote:
>
> > On Sun, 2003-12-21 at 03:14, Octave wrote:
> > > Hi,
> > > Since we use 2.4.23 we have lot of crash. I have no kernel panic.
> > > All I can report is this kind of syslog's message:
> > > __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
> > > VM: killing process rateup
>
> 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,

For exemple this server: Piv 2.4GHz with 1Go RAM
I think it arrives when all memory is used (ram + swap).

# free
total used free shared buffers cached
Mem: 1032592 1016492 16100 0 36184 759668
-/+ buffers/cache: 220640 811952
Swap: 265064 122784 142280

# ps auxw | grep -v "0 0.0"
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
mysql 26958 0.0 14.0 275000 144972 ? S Dec19 2:09 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --
mysql 27004 0.0 14.0 275000 144972 ? S Dec19 2:28 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --
mysql 27005 0.0 14.0 275000 144972 ? S Dec19 2:03 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --
root 9621 0.0 0.1 6316 1860 ? S 01:02 0:00 /usr/sbin/sshd
root 9631 0.0 0.1 2500 1352 pts/0 S 01:02 0:00 -bash
root 9683 0.0 0.1 6276 1844 ? S 13:47 0:00 /usr/sbin/sshd
root 9707 0.0 0.1 2504 1356 pts/2 S 13:47 0:00 -bash
postfix 29728 0.0 0.1 3508 1184 ? S 15:45 0:00 pickup -l -t fifo -u
mysql 7341 0.0 14.0 275000 144972 ? S 15:59 0:00 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --
root 7347 0.0 0.1 2504 1356 pts/2 R 15:59 0:00 -bash

There is nothing to take 1Go of RAM.

I switched to 2.4.22 some servers and there is no more problem with. So I think
it's 2.4.23's problem only.

Octave
-
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/