Signal-safe way to start a worker thread in each child process?

2015-06-02 Thread Jacob Champion
Hello all, We're developing an Apache module that requires a background thread to be running in each individual child process. We've been calling apr_thread_create() during the child_init hook, and at first that appeared to work. Then we started seeing intermittent hangs on worker shutdown. We

Re: Signal-safe way to start a worker thread in each child process?

2015-06-02 Thread Nick Kew
On Tue, 02 Jun 2015 14:15:18 -0500 Jacob Champion jacob.champ...@ni.com wrote: We could just call apr_setup_signal_thread() ourselves -- and doing that does fix the problem -- but that means that modules which are initialized after us will get the global protection too, which doesn't feel

Re: Signal-safe way to start a worker thread in each child process?

2015-06-02 Thread Yann Ylavic
Hello, On Tue, Jun 2, 2015 at 9:15 PM, Jacob Champion jacob.champ...@ni.com wrote: We could just call apr_setup_signal_thread() ourselves -- and doing that does fix the problem -- but that means that modules which are initialized after us will get the global protection too, which doesn't

RE: TR of 2.4.13

2015-06-02 Thread Lu, Yingqi
Hi All, The SO_REUSEPORT patch is only lack one vote now. It would be really great if we can make it this time. Guys, please test it out and vote for us if you like it. It boosts your performance on bigger Xeon systems. Thanks, Yingqi -Original Message- From: Jeff Trawick

Re: TR of 2.4.13

2015-06-02 Thread Yann Ylavic
On Tue, Jun 2, 2015 at 11:58 PM, Jacob Perkins jacob.perk...@cpanel.net wrote: Any chance this one will make it into 2.4.13? We manually patched our distribution in April and haven’t had any issues. https://bz.apache.org/bugzilla/show_bug.cgi?id=57531 This has already been backported to

Re: TR of 2.4.13

2015-06-02 Thread William A Rowe Jr
On Tue, Jun 2, 2015 at 6:32 AM, Jim Jagielski j...@jagunet.com wrote: Although there are some cool things that I'd like to see in 2.4.13, I don't want to hold off any longer (plus, those cool things would be good incentive for a 2.4.14 sooner rather than later). I plan to TR 2.4.13 on

Re: TR of 2.4.13

2015-06-02 Thread Jacob Perkins
Good afternoon! Any chance this one will make it into 2.4.13? We manually patched our distribution in April and haven’t had any issues. https://bz.apache.org/bugzilla/show_bug.cgi?id=57531 https://bz.apache.org/bugzilla/show_bug.cgi?id=57531 Thanks! On Jun 2, 2015, at 6:32 AM, Jim

TR of 2.4.13

2015-06-02 Thread Jim Jagielski
Although there are some cool things that I'd like to see in 2.4.13, I don't want to hold off any longer (plus, those cool things would be good incentive for a 2.4.14 sooner rather than later). I plan to TR 2.4.13 on Thurs, by Noon eastern.

Re: TR of 2.4.13

2015-06-02 Thread Jeff Trawick
On 06/02/2015 07:32 AM, Jim Jagielski wrote: Although there are some cool things that I'd like to see in 2.4.13, I don't want to hold off any longer (plus, those cool things would be good incentive for a 2.4.14 sooner rather than later). I plan to TR 2.4.13 on Thurs, by Noon eastern. From a

Re: ALPN patch comments

2015-06-02 Thread Eric Covener
Can you test the latest rev of the backport candidate? http://people.apache.org/~ylavic/httpd-2.4.x-alpn-v4.patch On Mon, Apr 27, 2015 at 11:06 AM Stefan Eissing stefan.eiss...@greenbytes.de wrote: Am 25.04.2015 um 11:47 schrieb Kaspar Brand httpd-dev.2...@velox.ch: On 22.04.2015