> -----邮件原件----- > 发件人: Trond Myklebust <trondmy@xxxxxxxxxxxxxxx> > 发送时间: 2024年4月12日 3:12 > 收件人: SteveD@xxxxxxxxxx > 抄送: linux-nfs@xxxxxxxxxxxxxxx > 主题: Re: [PATCH v2] nfsd: allow more than 64 backlogged connections > > On Fri, 2024-03-08 at 13:02 -0500, trondmy@xxxxxxxxx wrote: > > From: Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx> > > > > When creating a listener socket to be handed to > > /proc/fs/nfsd/portlist, > > we currently limit the number of backlogged connections to 64. Since > > that value was chosen in 2006, the scale at which data centres > > operate > > has changed significantly. Given a modern server with many thousands > > of > > clients, a limit of 64 connections can create bottlenecks, > > particularly > > at at boot time. > > Let's use the POSIX-sanctioned maximum value of SOMAXCONN. > > Tested-by: Chen Hanxiao <chenhx.fnst@xxxxxxxxxxx> Regards, - Chen