Re: [PATCH] fdtable: Avoid triggering OOMs from alloc_fdmem

From: Eric Dumazet
Date: Tue Feb 04 2014 - 17:48:44 EST


On Tue, 2014-02-04 at 10:57 -0800, Eric W. Biederman wrote:

> As I have heard it described one tcp connection per small requestion,
> and someone goofed and started creating new connections when the server
> was bogged down. But since all of the requests and replies were small I
> don't expect even TCP would allocate more than a 4KiB page in that
> worload.

Right, small writes uses regular skb (no page fragments).

>
> I had oodles of 4KiB and 8KiB pages. What size of memory allocation did
> you see failing?

We got some reports of order-3 allocations failing.


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