[suPHP] Apache-2.2 in mpm 'worker' mode
Davy Durham
ddurham at users.sourceforge.net
Wed May 21 22:15:58 CEST 2008
Jeremy Chadwick wrote:
>Before we get into a discussion about this problem, I've two questions
>and one comment:
>
>Q1: What operating system are you seeing this behaviour on? It matters
>greatly.
>
>Q2: Can you please provide full version numbers of Apache and not "2.0"
>and "2.2"?
>
>
>
Mandrake 10.0 frankenstein running apache-2.0.54 worked because it did
not use threads
Gentoo 2007.0 running apache-2.2.8 using "worker" mpm (which is
threaded) exhibited the problem
Gentoo 2007.0 running apache-2.2.8 using "prefork" mpm (which is not
threaded) worked fine
php-5.2.6 all around
>C1: You want sigprocmask(), not sigsetmask(). POSIX == good, please
>adhere to it. pthread_sigmask() also comes to mind.
>
>
>
sure.. I was gonna mention that but thought it would come up later in
the discussion. Here it is! :) However, I used the simpler
setsigmask() in my test to prove the concept. Either way,
/proc/pid/status for my php process showed a 0 sigblk when it worked,
and non-zero when it didn't
Thanks
More information about the suPHP
mailing list