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

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

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

I'm running ntpd through Python. How do I check the process signal mask? I did some quick searches and it seems Python does not support sigprocmask(). 

In my searches I came across this link:

http://bugs.python.org/msg61870

I think you might be right that this is related to the signal mask. In my scenario the select call is hanging indefinitely, just like discussed in this article.




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