Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Feb 2010 17:18:28 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Peter Steele <psteele@maxiscale.com>
Cc:        Alexandr Rybalko <ray@dlink.ua>, "hackers@freebsd.org" <hackers@freebsd.org>
Subject:   Re: ntpd hangs under FBSD 8
Message-ID:  <20100225151828.GA2489@deviant.kiev.zoral.com.ua>
In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB39E95689@MBX03.exg5.exghost.com>
References:  <7B9397B189EB6E46A5EE7B4C8A4BB7CB385D5C73@MBX03.exg5.exghost.com> <20100220113349.GA22800@kiwi.sharlinx.com> <7B9397B189EB6E46A5EE7B4C8A4BB7CB385D60B7@MBX03.exg5.exghost.com> <bc2d971002220751i256f2329g3f29efdc763bca97@mail.gmail.com> <7B9397B189EB6E46A5EE7B4C8A4BB7CB385D60DD@MBX03.exg5.exghost.com> <7B9397B189EB6E46A5EE7B4C8A4BB7CB39E95389@MBX03.exg5.exghost.com> <20100224190035.GA5026@wep4035.physik.uni-wuerzburg.de> <7B9397B189EB6E46A5EE7B4C8A4BB7CB39E95522@MBX03.exg5.exghost.com> <20100225125838.13cd6c0e.ray@dlink.ua> <7B9397B189EB6E46A5EE7B4C8A4BB7CB39E95689@MBX03.exg5.exghost.com>

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

--4Ckj6UjgE2iN1+kY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Feb 25, 2010 at 08:12:05AM -0600, Peter Steele wrote:
> >I think problem not in ntpd, since I use ntpdate. And in 50% times, when=
 it run from startup script, it hangs with kernel.
> >No Ctrl+C work, kernel don`t answer for ping, just freeze.
> >Problem somewhere in kernel, maybe in subsystems that set new time, mayb=
e in network(UDP) parts.
> >This problem don`t affect other programs, so I think this in time handli=
ng code.
>=20
> I think you may be describing a different problem. For one thing, we don'=
t use ntpdate, we use the "ntpd -g -q" alternative. Secondly, for us ntpd i=
s hanging 100% of the time when run via a Python thread class. The exceptio=
n is Python 2.5.1; this succeeds 100% of the time.
>=20
> >Peter, what platform You use? I use MIPS BCM5354.
>=20
> We have a variety of 1U and 3U boxes. They all hang the same way.

Very wild guess, check the process signal mask of the child for both
methods of spawning.

--4Ckj6UjgE2iN1+kY
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEARECAAYFAkuGlMQACgkQC3+MBN1Mb4iFjwCg3qaheJHGXE6EJcq3Gjpd38Xp
vRAAn3zxTwK0yrbjYlbV8HklGZnCGJ7x
=fEZL
-----END PGP SIGNATURE-----

--4Ckj6UjgE2iN1+kY--



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