Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Feb 2010 10:57:22 -0600
From:      Peter Steele <psteele@maxiscale.com>
To:        Kostik Belousov <kostikbel@gmail.com>
Cc:        "hackers@freebsd.org" <hackers@freebsd.org>
Subject:   RE: ntpd hangs under FBSD 8
Message-ID:  <7B9397B189EB6E46A5EE7B4C8A4BB7CB39E95765@MBX03.exg5.exghost.com>
In-Reply-To: <20100225164514.GB2489@deviant.kiev.zoral.com.ua>
References:  <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> <20100225151828.GA2489@deviant.kiev.zoral.com.ua> <7B9397B189EB6E46A5EE7B4C8A4BB7CB39E95703@MBX03.exg5.exghost.com> <20100225164514.GB2489@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
>Below is the quickly made patch to add ability to show signal disposition =
to the procstat(1). I am not sure about duplicating information about catch=
/ignore state
>of the signal for allthreads (this information is process-global), but I t=
hink this is more usable for scripts.

Thanks for the patch. To be honest though, this issue has already cost us w=
ay too much time. We've got a workaround by either going with Python 2.5.1 =
or by running ntpd via the "at" command:

os.system("echo ntpd -g -q|at now")

If we running ntpd in this fashion it doesn't hang, more proof that the pro=
blem is related to Python's manipulation of the process signal mask. Runnin=
g it through the "at" subsystem removes it from the Python process hierarch=
y. We'll likely go with this solution instead of downgrading Python and the=
 related libraries.




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