Subject: Re: memory problem with fec on 8250

From: Eugene Surovegin <[email-masked]>
Date: Thu, 4 Dec 2003 01:15:36 -0800

On Thu, Dec 04, 2003 at 09:45:53AM +0100, Wojciech Kromer wrote:
> >i have some problems with using fec device on my custom 8250 board
> >while sending a lot of data (at least 300MB) through this device causes
> >lack of memory
> >sending same amount of data through loopback works fine
> >
> >i'm using 2.4.19 kernel
> >any idea?
>
> cached memory keeps growing slowly, and free is going down same way,
> after putting ~300MB ftp data (from 8250 board to another host), VM
> starts killing some applications
>
> same situation is with latest linuxppc_2_4_devel kernel from denx.de,
> but there is additional information from kernel
>
> <5>__alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
> <5>__alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
> <5>__alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
> <5>__alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
> <5>__alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
> <4>VM: killing process sshd
>
> what's wrong ???

It means that this box is really out of memory.

Could you provide output from utility called 'free' and from file
/proc/slabinfo at two points of time: 1) when you just booted your
boax and 2) just before it starts failing.

Thanks,

Eugene.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/