Date: Thu, 11 Jul 2013 09:19:40 +0200 From: Andre Oppermann <andre@freebsd.org> To: Andriy Gapon <avg@FreeBSD.org> Cc: freebsd-net@FreeBSD.org Subject: Re: Listen queue overflow: N already in queue awaiting acceptance Message-ID: <51DE5C8C.3090404@freebsd.org> In-Reply-To: <51DE591E.7040405@FreeBSD.org> References: <51DE591E.7040405@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11.07.2013 09:05, Andriy Gapon wrote: > kernel: sonewconn: pcb 0xfffffe0047db3930: Listen queue overflow: 193 already in > queue awaiting acceptance > last message repeated 113 times > last message repeated 518 times > last message repeated 2413 times > last message repeated 2041 times > last message repeated 1741 times > last message repeated 1543 times > last message repeated 1283 times > last message repeated 1178 times > last message repeated 1020 times > ... > > What does this messages mean? That your server process lagging behind in accepting new connections and a quite a number of them get aborted due to a backlogged listen queue. Making the accept queue longer doesn't help, it's user-space that can't keep up with the rate of new incoming connections. You can either reduce the rate of new incoming connections, optimize your server process to accept more connections in the same time, or get a beefier machine. > Is it really that important to be printed? The log messages are at DEBUG level. People probably want to know about their server not keeping up and throwing incoming connection attempts away. > Finally, why is it not throttled? The frequency it happens with is important to determine if this is only a temporary spike (micro-burst) or persistent condition. -- Andre
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51DE5C8C.3090404>