Re: [PATCH] Add somaxconn to Documentation/sysctl/net.txt

From: Eric Dumazet
Date: Tue Apr 13 2010 - 14:40:25 EST


Le mardi 13 avril 2010 Ã 13:25 -0500, Rob Landley a Ãcrit :
> From: Rob Landley <rob@xxxxxxxxxxx>
>
> Add somaxconn to Documentation/sysctl/net.txt
>
> Signed-off-by: Rob Landley <rob@xxxxxxxxxxx>
> ---
>
> Documentation/sysctl/net.txt | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/Documentation/sysctl/net.txt b/Documentation/sysctl/net.txt
> index df38ef0..2740085 100644
> --- a/Documentation/sysctl/net.txt
> +++ b/Documentation/sysctl/net.txt
> @@ -90,6 +90,12 @@ optmem_max
> Maximum ancillary buffer size allowed per socket. Ancillary data is a sequence
> of struct cmsghdr structures with appended data.
>
> +somaxconn
> +---------
> +
> +Maximum backlog of unanswered connections for a listening socket. Provides
> +an upper bound on the "backlog" parameter of the listen() syscall.
> +
> 2. /proc/sys/net/unix - Parameters for Unix domain sockets
> -------------------------------------------------------
>
>

Please cc netdev for such patches

Extract of Documentation/networking/ip-sysctl.txt

somaxconn - INTEGER
Limit of socket listen() backlog, known in userspace as SOMAXCONN.
Defaults to 128. See also tcp_max_syn_backlog for additional tuning
for TCP sockets.

I guess you need to change both files ?


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