From owner-freebsd-questions@FreeBSD.ORG Mon Mar 16 23:48:58 2015 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A9FFB208 for ; Mon, 16 Mar 2015 23:48:58 +0000 (UTC) Received: from mail.parts-unknown.org (mail.parts-unknown.org [50.250.218.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8F055AEE for ; Mon, 16 Mar 2015 23:48:58 +0000 (UTC) Received: by mail.parts-unknown.org (Postfix, from userid 1001) id 7606D5B3BD24; Mon, 16 Mar 2015 16:48:57 -0700 (PDT) Date: Mon, 16 Mar 2015 16:48:57 -0700 From: David Benfell To: Charles Swiger Subject: Re: sonewconn: pcb 0xfffff801efdd1000: Listen queue overflow: 31 already in queue awaiting acceptance Message-ID: <20150316234857.GA3587@home.parts-unknown.org> References: <20150316213018.GA97580@home.parts-unknown.org> <22987F08-3543-43BE-A06A-78E76437ADD2@mac.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cWoXeonUoKmBZSoM" Content-Disposition: inline In-Reply-To: <22987F08-3543-43BE-A06A-78E76437ADD2@mac.com> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Mar 2015 23:48:58 -0000 --cWoXeonUoKmBZSoM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 16, 2015 at 03:38:51PM -0700, Charles Swiger wrote: >=20 > They aren't directly related. You generally need to increase apc.shm_size > suitable for however many PHP processes you're running-- generally via mo= d_php > in Apache or fastcgi for nginx and the like. I *am* running a bunch of php-fpm processes. Is there a formula for calculating this? >=20 > The listen queue overflow means that your system is failing to process > incoming requests fast enough to keep up. The bottleneck could be > on a resource like CPU or memory, or serialization against a database > table, or something else. (You'll want to identify the bottleneck.) Interesting. htop says I've got plenty of memory and CPU--it's a new server and I went big. That would seem to suggest mysql may not be performing well, which is a very strong possibility. Until relatively recently, I was trying to run on a VPS and then a rather small hosted server; I don't think I've revisited the mysql configuration since. Thank you very much. All this helps. --=20 David Benfell See https://parts-unknown.org/node/2 if you don't understand the attachment. --cWoXeonUoKmBZSoM Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJVB2vpAAoJEBV64x4SNmArr6oQAJKLhcDelboiWaayMjqoGinL ih2H0MURAqsfSRRVoCBmlUn4agqZrOwDJwOtf8lhcbwQr6JRViyc46HcCpQSXNza Xozf9Yy8Y0lXK7Q/yuLAeMYf59+HHaRBZRMiZOwsV1X41k1I70xEDV0AMEZcyIx2 H8BlWwNy8Ef6g+lO0YJWZMMnV4PG9iLLx7XUHJjSrQpT3Qy4eLowQH+DZZPZqMbn kJxJJOzwdyXp/v11HxDbwmh9KPRe3u8PCc9JSRDAP2WTOlTrhXGAwxBvnsR5xIwd niQg/EX49qfw2pwlWegjDv0iKlPTPWaClyptyRha+8DqERYOzf3QxlG+7OC62tbF E3H/zs8V+G7goH4oaXO8hwRGvqzO+jb5tFbE1UVxQ8ZCTTFUcxX8T87FxS4ffybt oPt4C1cxufApo2FH/CWYnFAIf3Evxkt0JpJOTsdB9rNXEXVDDlrWyTG4RAkzr+1m 9pHlrRdyBmBm6ezwTEDfjfC6X0lW3+tz7Q4WW69UhLguugLo3hkNYN/tY8D3p6Bd aUYKfTUOhbAWGRHEQisHjBDMYGvjT/k7QXmFRKfmsAkZrKi1nBYl0rkRLE/ryKYq OsZFwmhJ4AShhTXfE6GgImXBOflPCEphhxpSsiJXuo3Ng/+YoYm7gdGKN4fc/Twy h2rGYGBztd066kpSBRD2 =jc+1 -----END PGP SIGNATURE----- --cWoXeonUoKmBZSoM--