[Python-Dev] Python continually calling sigprocmask() on FreeBSD 5

Michael Hudson mwh at python.net
Wed May 11 11:29:42 CEST 2005

Suleiman Souhlal <ssouhlal at FreeBSD.org> writes:

> Hello,
> While investigating why the script used in http://docs.freebsd.org/ 
> cgi/getmsg.cgi?fetch=148191+0+current/freebsd-stable used so much  
> system time on FreeBSD 5, I noticed that python is continually  
> calling sigprocmask(), as can be seen from the following ktrace(1) dump:
>     673 python   0.000007 CALL  sigprocmask(0x3,0,0x811d11c)
>     673 python   0.000005 RET   sigprocmask 0
>     673 python   0.000009 CALL  sigprocmask(0x1,0,0x8113d1c)
>     673 python   0.000005 RET   sigprocmask 0
> etc..
> This is using Python 2.4.1.
> Any clue about why this is happening?

In a word, no.

As far as I am aware, there are no calls whatsoever to sigprocmask in
Python 2.4.1 (there were in 2.3.X, but these were connected to threads
and the mentioned script doesn't use them).  So you need to do some
digging of your own.

> (Please include me to the recipients for any reply, as I'm not  
> subscribed)

OK, but there's always Gmane if you just want to watch python-dev for
a bit.


    . <- the point                                your article -> .
    |------------------------- a long way ------------------------|
                                       -- Christophe Rhodes, ucam.chat

More information about the Python-Dev mailing list