From owner-freebsd-questions@FreeBSD.ORG Mon Mar 16 21:30:25 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 64BCF22F for ; Mon, 16 Mar 2015 21:30:25 +0000 (UTC) Received: from mail.parts-unknown.org (mail.parts-unknown.org [IPv6:2001:470:67:119::4]) (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 40AF5A07 for ; Mon, 16 Mar 2015 21:30:25 +0000 (UTC) Received: by mail.parts-unknown.org (Postfix, from userid 1001) id 6CEED5B3BD24; Mon, 16 Mar 2015 14:30:18 -0700 (PDT) Date: Mon, 16 Mar 2015 14:30:18 -0700 From: David Benfell To: questions@freebsd.org Subject: sonewconn: pcb 0xfffff801efdd1000: Listen queue overflow: 31 already in queue awaiting acceptance Message-ID: <20150316213018.GA97580@home.parts-unknown.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fUYQa+Pmc3FrFX/N" Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) 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 21:30:25 -0000 --fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all, I think I'm not doing this right. I'm seeing these messages in my nightly security log output. Googling around, I find I should increase kern.ipc.somaxconn. I have. Now to 4096. This in turn seems to mean I need to increase apc.shm_size in /usr/local/etc/php.ini and I have, now, to 1024M. But doing so brings back the first message, "sonewconn: pcb 0xfffff801efdd1000: Listen queue overflow: 31 already in queue awaiting acceptance." So after a couple iterations of this, I infer that there is some relationship between the two variables. But 1) I have no idea how to set them properly, and 2) I don't understand the relationship. What should I be doing? Thanks! --=20 David Benfell See https://parts-unknown.org/node/2 if you don't understand the attachment. --fUYQa+Pmc3FrFX/N Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJVB0tqAAoJEBV64x4SNmArWdoP/2MxyDISMINIZckcxZS4B4dt 2tRTTmELvPoBHHKDOc28yKv6zvqiirIAbhhiTM4RhWICQGkvmfgBJ3vsVRljFdVz mut7ACHXHTWKTxXdlsEqGkMTqCWDXQKIf7/fqaQU8oQoW2a7k4ZPLh9fmi5+oT+I AGQtRwxGxdyReUJfyVA1kxs+DONRzeFgVj3mj3ZWhA0dWg32IcjBKvLQ1ax2y4Fy 9y/91j0CZlGg2j+NN/JfWQSpLLcljePD+QpVPlAxW6prF7zLffJ1PPUCe1j2kY4Y kmarTKAa4R59bSKQ50ZZwKrgN7Ts1axMo+oEwEWqswN6rDIRvi7Z38vJg1W1n5SE q+oTWIxXQzvJ+Os1buthZU38fZ4YzVgbIqm5n963AQ7fbkLs2TX0WpGmyj2J66CO 5tsPPJD40tiQwi8kJXVvHQCx0ya+q58pinB52OwuESETa2agkPoxB3cONMhiAHQR U/RORia9UaM5TpXtmZKVFp+pJhAmn/4UlJbU6/VaCVbfm2WfUcBkk1T0y3YH1bSK D6KTdKvQBsVYQoP+M1uqjeeg9Dwttm1XWtCkqSd1LdqXMY3/yWAM688ATzrevUgC 1FJJT2uW5goCaoLVdTyD2xORvRkfpf80kZFgJeBXS36pdRUoMkrerzbpMZ+r5NDd Z2hkSJvnxmY7XDPwoguq =Zeac -----END PGP SIGNATURE----- --fUYQa+Pmc3FrFX/N--