Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2017 11:49:26 -0700
From:      Peter Wemm <peter@wemm.org>
To:        svn-src-all@freebsd.org
Cc:        Maxim Sobolev <sobomax@freebsd.org>, src-committers@freebsd.org, svn-src-head@freebsd.org, Hiren Panchasara <hiren@freebsd.org>
Subject:   Re: svn commit: r316874 - head/sys/kern
Message-ID:  <1599271.FxKGEkh3s8@overcee.wemm.org>
In-Reply-To: <201704141723.v3EHNS3B043902@repo.freebsd.org>
References:  <201704141723.v3EHNS3B043902@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart2770083.al7Ir3C4kI
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="us-ascii"

On Friday, April 14, 2017 05:23:28 PM Maxim Sobolev wrote:
> Author: sobomax
> Date: Fri Apr 14 17:23:28 2017
> New Revision: 316874
> URL: https://svnweb.freebsd.org/changeset/base/316874
>=20
> Log:
>   Restore ability to shutdown DGRAM sockets, still forcing ENOTCONN t=
o be
> returned by the shutdown(2) system call. This ability has been lost a=
s part
> of the svn revision 285910.
>=20
>   Reviewed by:=09ed, rwatson, glebius, hiren
>   MFC after:=092 weeks
>   Differential Revision:=09https://reviews.freebsd.org/D10351

This appears to have broken syslogd and had a major change in behavior =
with=20
regards to select(2).

If you run syslogd with the -s flag (which is default), it now spins at=
 100%=20
cpu as all the shutdown sockets now return readable from select.

Old releases / jails also manifest this behavor.  If it wasn't for losi=
ng the=20
ability to run old branch binaries I'd suggest changing syslogd instead=
, but=20
we depend on this in the cluster and I expect others do too.

I'm not 100% certain that this change is the culprit but a heads-up can=
't=20
hurt. I'll try reverting it on the freebsd cluster next, after fixing t=
he=20
broken auditing changes.

=2DPeter
=2D-=20
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI=
6FJV
UTF-8: for when a ' or ... just won\342\200\231t do\342\200\246
--nextPart2770083.al7Ir3C4kI
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEEBgrA0Vr/vfNVuPoUNdaXCeyAngQFAljxGbYACgkQNdaXCeyA
ngQBCggApmBnRNEPOo6bYCm9FDdP12t08FtP6ZOC5mZjgxzOQ5dIUYoZ9HvLQ0Qq
uM9Z/nVdk5hwb/SsIDPy3VsU6ASmwApVzOxv84/y4O0acDVVoiVu0HQ5Bz3dqz1s
HJoS6wlv0afr14hba+4tnLK5krwze6/CHJ2k1MgBZHqNjqwhsgzTK8gjgNuJhClI
dXFbHB8vBXcMz4r1MEAWlTUV/fCzTFGGxAvYSUNcJNAjaRd3fvpEdkMv+cvGw3OE
ge447UmbAVH7aBv+8ExeelIYR5fexcQ3XkfdXWamm/p9xOfY/e3mnfk7ei3cHwOI
YQSShQKA4RQj1czUeCotMq9mboC34A==
=hHRC
-----END PGP SIGNATURE-----

--nextPart2770083.al7Ir3C4kI--




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