Re: __alloc_pages: 2-order allocation failed
- To: "David S. Miller" <davem@davemloft.net>
- Cc: debian-sparc@lists.debian.org
- Subject: Re: __alloc_pages: 2-order allocation failed
- From: Mike Edwards <sauron-debian-sparc@psychology.rutgers.edu>
- Date: Thu, 19 May 2005 13:25:17 -0400
- Message-id: <[🔎] 20050519172517.GA1417@psychology.rutgers.edu>
- In-reply-to: <20050429095217.7247b498.davem@davemloft.net>
- References: <20050331114936.5de0efa9.davem@davemloft.net> <20050419143452.GB16291@psychology.rutgers.edu> <20050419114310.7f8fdb49.davem@davemloft.net> <20050419190414.GR8132@psychology.rutgers.edu> <20050419191741.GS8132@psychology.rutgers.edu> <20050419121818.592a2db0.davem@davemloft.net> <20050419194027.GT8132@psychology.rutgers.edu> <20050419124504.63b3b6e5.davem@davemloft.net> <20050429144754.GA30708@psychology.rutgers.edu> <20050429095217.7247b498.davem@davemloft.net>
David, do you know if anything further was done on this issue?
Thanks.
On Fri, Apr 29, 2005 at 09:52:17AM -0700, David S. Miller said:
> On Fri, 29 Apr 2005 10:47:54 -0400
> Mike Edwards <sauron-debian-sparc@psychology.rutgers.edu> wrote:
>
> > Apr 29 08:45:34 psychology kernel: __alloc_pages: 2-order allocation failed (gfp=0x20/0)
> > Apr 29 08:45:34 psychology kernel: __alloc_pages: task(spamc) pid(25917) caller(000000000046edc0)
> > Apr 29 08:45:34 psychology kernel: DEBUG: __get_free_pages() order 2 failed called by 000000000046aaa8
> ...
> > 000000000046a9c0 t kmem_cache_grow
> > 000000000046ad00 T kmem_cache_alloc_batch
>
> Does spamc use AF_UNIX sockets to communicate with other
> processes? If so, someone should audit it to make sure it
> checks properly for return values on write() calls.
>
> If spamc uses non-blocking AF_UNIX sockets, -ENOBUFS can
> happen under normal circumstances. If the sockets were
> blocking then the kernel could sleep to swap out some pages
> to free up some space and then the call could succeed.
>
> A quick perusal of the spamc sources seems to indicate
> that it does use non-blocking AF_UNIX sockets as the
> transport to talk to the spamassasindaemon. I'm on
> vacation so cannot investigate this more deeply.
>
>
> --
> To UNSUBSCRIBE, email to debian-sparc-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
--
Mike Edwards <sauron-debian-sparc@psychology.rutgers.edu>
System Administrator
Psychology Department, Rutgers University, Newark campus
Reply to: