[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-httpd-dev
Subject:    Re: scoreboard full
From:       Yann Ylavic <ylavic.dev () gmail ! com>
Date:       2015-08-31 20:19:26
Message-ID: CAKQ1sVPAacdbnS-63RsdGWQ9Dunb9bQWCt9zxt-FK3NVMPs1-Q () mail ! gmail ! com
[Download RAW message or body]

On Mon, Aug 31, 2015 at 6:11 PM, Stefan Eissing
<stefan.eissing@greenbytes.de> wrote:
> Hunting a bit on the "scoreboard is full, not at MaxRequestWorkers" issue,
> I found that setting
>
>     c->cs->state = CONN_STATE_LINGER;

mod_http2 could possiblly return CONN_STATE_WRITE_COMPLETION (with
c->keepalive = AP_CONN_CLOSE, unless c->aborted), so that blocking
writes (if any) can be scheduled (in event).

>
> explicitly on exiting connection processing (h2_conn.c) seems to help
> with this. As an experiment, I set
>
>     c->cs->state = CONN_STATE_READ_REQUEST_LINE;

This state looks unhandled after ap_run_process_connecton, shouldn't happen :)
The case should probably be handled like CONN_STATE_LINGER (or
DEBUG_ASSERT?) since ptrans leaks...

PR 53555 seems not related though, mpm_event and mod_http call
ap_process_http_async_connection::ap_process_async_request::ap_process_request_after_handler()
which do the right thing wrt cs->state.

Regards,
Yann.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic