Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Mar 2015 16:48:57 -0700
From:      David Benfell <benfell@parts-unknown.org>
To:        Charles Swiger <cswiger@mac.com>
Cc:        questions@freebsd.org
Subject:   Re: sonewconn: pcb 0xfffff801efdd1000: Listen queue overflow: 31 already in queue awaiting acceptance
Message-ID:  <20150316234857.GA3587@home.parts-unknown.org>
In-Reply-To: <22987F08-3543-43BE-A06A-78E76437ADD2@mac.com>
References:  <20150316213018.GA97580@home.parts-unknown.org> <22987F08-3543-43BE-A06A-78E76437ADD2@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <benfell@parts-unknown.org>
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150316234857.GA3587>