From owner-freebsd-stable@FreeBSD.ORG Sun Jan 18 12:25:01 2015 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 48D513A4 for ; Sun, 18 Jan 2015 12:25:01 +0000 (UTC) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ACB0436C for ; Sun, 18 Jan 2015 12:25:00 +0000 (UTC) Received: from mh0.gentlemail.de (ezra.dcm1.omnilan.net [78.138.80.135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id t0ICOwSL066201; Sun, 18 Jan 2015 13:24:58 +0100 (CET) (envelope-from h.schmalzbauer@omnilan.de) Received: from titan.inop.mo1.omnilan.net (titan.inop.mo1.omnilan.net [IPv6:2001:a60:f0bb:1::3:1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 29BB798D; Sun, 18 Jan 2015 13:24:58 +0100 (CET) Message-ID: <54BBA619.5030702@omnilan.de> Date: Sun, 18 Jan 2015 13:24:57 +0100 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: Kurt Jaeger Subject: Re: sonewconn: pcb 0x???: Listen queue overflow [Was: Re: lagg(8) causes ghost queue with igb(4)] References: <54B962A3.9010308@omnilan.de> <54BBA2E3.5070401@omnilan.de> <20150118122145.GW44537@home.opsec.eu> In-Reply-To: <20150118122145.GW44537@home.opsec.eu> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF6F07AAC60289CA2BBBD3F4B" X-Greylist: ACL 119 matched, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [78.138.80.130]); Sun, 18 Jan 2015 13:24:58 +0100 (CET) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: 78.138.80.135; Sender-helo: mh0.gentlemail.de; ) Cc: FreeBSD Stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2015 12:25:01 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF6F07AAC60289CA2BBBD3F4B Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Bez=FCglich Kurt Jaeger's Nachricht vom 18.01.2015 13:21 (localtime): > Hi! > >> I noticed another mysterium, at least for me. I'd highly appreciate if= >> somebody could give me a hint how I can understand the following lines= >> >> sonewconn: pcb 0xfffff801b85907a8: Listen queue overflow: 151 already = in >> queue awaiting acceptance (1 occurrences) > You have a socket open in the LISTEN state. Incoming connections > must be accept()'ed. If the process that LISTENs is too busy > to accept, the so-called 'listen-queue' is growing. > > I have found > > kern.ipc.soacceptqueue: 128 > > and I assume that this is the max. number of incoming connections waiti= ng > for accept before the next incoming connection will cause that error > (and is not successful any more). > > I do not know how to match the pcb (protocol control block) back > to the process/LISTEN in question, but maybe someone else knows this ? Thanks for your help!!! I guess after the socket was closed, it's not possible anymore. 'netstat -An' and greping will do it while active I guess. Thanks, -Harry --------------enigF6F07AAC60289CA2BBBD3F4B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAlS7phkACgkQLDqVQ9VXb8jI1ACgtBsrbmvBfjrIsMCQFQzhdZyn bUgAoMjGHN9qtKfJstJ6avhgP1jjfUK4 =slcX -----END PGP SIGNATURE----- --------------enigF6F07AAC60289CA2BBBD3F4B--