Re: Pipe buffers' limit of 16 * 4K

From: Jan Engelhardt
Date: Thu May 29 2008 - 10:36:44 EST



On Thursday 2008-05-29 15:19, Miquel van Smoorenburg wrote:
>On Thu, 2008-05-29 at 10:00 -0300, Fausto Richetti Blanco wrote:
>
>Why not use a socketpair() instead of a pipe(). You can adjust the size
>with setsockopt SO_SNDBUF/SO_RCVBUF (see man socket(7))

Nah, if there's lots of POST requests, and a large buffer for
each of it, you may end up running into allocation failures.
--
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/