Re: httpd 2.4.25, mpm_event, ssl: segfaults

2017-02-02 Thread Jacob Champion
On 02/02/2017 03:05 PM, Yann Ylavic wrote: Couldn't htcacheclean or alike do something like this? "EnableMMAP off" could definitely help here. (Didn't mean to ignore this part of your email, but I don't have much experience with htcacheclean yet so I can't really comment...) --Jacob

Re: httpd 2.4.25, mpm_event, ssl: segfaults

2017-02-02 Thread Jacob Champion
On 02/02/2017 03:05 PM, Yann Ylavic wrote: Hmm, Linux raises SIGBUS if an mmap is used after the underlying file has been truncated (see [1]). See also https://bz.apache.org/bugzilla/show_bug.cgi?id=46688 . Niklas, just to clarify: you're not willfully truncating large files as they're being

Re: httpd 2.4.25, mpm_event, ssl: segfaults

2017-02-02 Thread Yann Ylavic
On Thu, Feb 2, 2017 at 11:36 PM, Jacob Champion wrote: > On 02/02/2017 02:32 PM, Yann Ylavic wrote: >> >> On Thu, Feb 2, 2017 at 11:19 PM, Jacob Champion >> wrote: >>> >>> Idle thoughts: "Cannot access memory" in this case could be a red >>> herring, >>> if Niklas' gdb can't peer into mmap'd memo

Re: httpd 2.4.25, mpm_event, ssl: segfaults

2017-02-02 Thread Jacob Champion
On 02/02/2017 02:32 PM, Yann Ylavic wrote: On Thu, Feb 2, 2017 at 11:19 PM, Jacob Champion wrote: Idle thoughts: "Cannot access memory" in this case could be a red herring, if Niklas' gdb can't peer into mmap'd memory spaces [1]. It seems reasonable that the data in question could be mmap'd, g

Re: httpd 2.4.25, mpm_event, ssl: segfaults

2017-02-02 Thread Yann Ylavic
On Thu, Feb 2, 2017 at 11:19 PM, Jacob Champion wrote: > > Idle thoughts: "Cannot access memory" in this case could be a red herring, > if Niklas' gdb can't peer into mmap'd memory spaces [1]. It seems reasonable > that the data in question could be mmap'd, given the nice round address and > 4 MiB

Re: httpd 2.4.25, mpm_event, ssl: segfaults

2017-02-02 Thread Jacob Champion
On 02/02/2017 02:04 AM, Yann Ylavic wrote: Hi Niklas, On Wed, Feb 1, 2017 at 7:02 PM, Niklas Edmundsson wrote: We've started to see spurious segfaults with httpd 2.4.25, mpm_event, ssl on Ubuntu 14.04LTS. Not frequent, but none the less happening. #4 ssl_io_filter_output (f=0x7f507013cfe0,

Re: Autobuild Progress (was Re: Automated tests)

2017-02-02 Thread Jacob Champion
On 01/30/2017 12:02 PM, Jacob Champion wrote: - run per-commit incremental builds - run nightly clean builds These two are implemented. Every commit you make to trunk (well, group of commits, within fifteen seconds of each other) is run through an incremental build, which takes about ten seco

Re: httpd 2.4.25, mpm_event, ssl: segfaults

2017-02-02 Thread Niklas Edmundsson
On Thu, 2 Feb 2017, Niklas Edmundsson wrote: On Thu, 2 Feb 2017, Yann Ylavic wrote: Are we hitting a corner case of process cleanup that plays merry hell with https/ssl, or are we just having bad luck? Ideas? Suggestions? 2.4.25 is eager to terminate/shutdown keepalive connections more quick

Re: [Bug 56188] mod_proxy_fcgi does not send FCGI_ABORT_REQUEST on client disconnect

2017-02-02 Thread Yann Ylavic
On Thu, Feb 2, 2017 at 5:16 PM, Yann Ylavic wrote: > On Thu, Feb 2, 2017 at 4:51 PM, Luca Toscano wrote: >> >> 2017-01-30 21:58 GMT+01:00 Yann Ylavic : >>> >>> Maybe what is missing is nonblocking reads on the backend side, and on >>> EAGAIN flush on the client side to detect potential socket err

Re: [Bug 56188] mod_proxy_fcgi does not send FCGI_ABORT_REQUEST on client disconnect

2017-02-02 Thread Yann Ylavic
On Thu, Feb 2, 2017 at 4:51 PM, Luca Toscano wrote: > > 2017-01-30 21:58 GMT+01:00 Yann Ylavic : >> >> Maybe what is missing is nonblocking reads on the backend side, and on >> EAGAIN flush on the client side to detect potential socket errors? > > Interesting.. So the idea would be to be non block

Re: [Bug 56188] mod_proxy_fcgi does not send FCGI_ABORT_REQUEST on client disconnect

2017-02-02 Thread Luca Toscano
2017-01-30 21:58 GMT+01:00 Yann Ylavic : > On Mon, Jan 30, 2017 at 7:17 PM, Luca Toscano > wrote: > > > > The use case that I had (the one that caused me to check the original > > bugzilla task/patch and work on it) was a long running PHP script > (running > > on HHVM) that wasn't returning anyth

Re: Underscores in hostnames

2017-02-02 Thread Reindl Harald
Am 02.02.2017 um 14:22 schrieb Reindl Harald: Am 02.02.2017 um 13:53 schrieb Joe Orton: Another 2.4.25 regression reported from a Fedora user is that underscores in hostnames are rejected by default now. I couldn't see a specific discussion of this, was it deliberate? underscores are not

Re: Underscores in hostnames

2017-02-02 Thread Reindl Harald
Am 02.02.2017 um 13:53 schrieb Joe Orton: Another 2.4.25 regression reported from a Fedora user is that underscores in hostnames are rejected by default now. I couldn't see a specific discussion of this, was it deliberate? underscores are not allowed in host names by RFC and many things will

Re: Underscores in hostnames

2017-02-02 Thread Issac Goldstand
AFAIK, underscores are forbidden from being part of a host name as per RFC 1123 Sec 2.1/RFC 952 (Assummptions Sec 1) It's also spelled out in RFC 3986: " A registered name intended for lookup in the DNS (...) consists of a sequence of domain labels separated by ".", each domain label star

Underscores in hostnames

2017-02-02 Thread Joe Orton
Another 2.4.25 regression reported from a Fedora user is that underscores in hostnames are rejected by default now. I couldn't see a specific discussion of this, was it deliberate? Following breadcrumbs... https://tools.ietf.org/html/rfc7230#section-5.4 Host = uri-host [ ":" port ] ; Sect

AW: httpd 2.4.25, mpm_event, ssl: Status of async write completion?

2017-02-02 Thread Plüm , Rüdiger , Vodafone Group
> -Ursprüngliche Nachricht- > Von: Niklas Edmundsson [mailto:ni...@acc.umu.se] > Gesendet: Donnerstag, 2. Februar 2017 13:31 > An: httpd-dev > Betreff: httpd 2.4.25, mpm_event, ssl: Status of async write completion? > > > Hi all! > > As we're seeing more and more https on ftp.acc.umu.

httpd 2.4.25, mpm_event, ssl: Status of async write completion?

2017-02-02 Thread Niklas Edmundsson
Hi all! As we're seeing more and more https on ftp.acc.umu.se I've noticed that the number of threads listed as state W in server-status has skyrocketed. From 2-4 threads busy using http we're talking 70-100 threads for the same bandwidth when the machine is pushing a mighty 2.7% average CP

Re: httpd 2.4.25, mpm_event, ssl: segfaults

2017-02-02 Thread Niklas Edmundsson
On Thu, 2 Feb 2017, Yann Ylavic wrote: Are we hitting a corner case of process cleanup that plays merry hell with https/ssl, or are we just having bad luck? Ideas? Suggestions? 2.4.25 is eager to terminate/shutdown keepalive connections more quickly (than previous versions) on graceful shutdow

Re: mod_http2 and Frequent wake-ups for mpm_event

2017-02-02 Thread Stefan Priebe - Profihost AG
Am 02.02.2017 um 11:09 schrieb Yann Ylavic: > Hi Stefan, > > On Tue, Jan 31, 2017 at 4:01 PM, Stefan Priebe - Profihost AG > wrote: >> >> any ideas? > > I wonder if the attached patch (related to mod_ssl and proposed for > another segfault report) could help in your case. > > Would you mind gi

Re: mod_http2 and Frequent wake-ups for mpm_event

2017-02-02 Thread Yann Ylavic
Hi Stefan, On Tue, Jan 31, 2017 at 4:01 PM, Stefan Priebe - Profihost AG wrote: > > any ideas? I wonder if the attached patch (related to mod_ssl and proposed for another segfault report) could help in your case. Would you mind give it a try? Thanks, Yann. Index: modules/ssl/ssl_engine_io.c =

Re: httpd 2.4.25, mpm_event, ssl: segfaults

2017-02-02 Thread Yann Ylavic
Hi Niklas, On Wed, Feb 1, 2017 at 7:02 PM, Niklas Edmundsson wrote: > > We've started to see spurious segfaults with httpd 2.4.25, mpm_event, ssl on > Ubuntu 14.04LTS. Not frequent, but none the less happening. > > #4 ssl_io_filter_output (f=0x7f507013cfe0, bb=0x7f4f840be168) at > ssl_engine_io.