[Bug 60647] New: "access this connection" wrong with event MPM

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 60647] New: "access this connection" wrong with event MPM

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=60647

            Bug ID: 60647
           Summary: "access this connection" wrong with event MPM
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
          Assignee: [hidden email]
          Reporter: [hidden email]
  Target Milestone: ---

Created attachment 34676
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34676&action=edit
keep conn_count more accurate

The first field of ACC in /server-status is requests on the current connection.

With event, a connection hops from slot to slot, only visible while it's being
processed.

These values are currently always zero w/ trunk and 2.4 under event.

ap_increment_counts() tracks this stuff per-slot and event causes it to be
blown away in worker_thread() right before process_socket.

I have a patch that just allows ap_process_http_async_connection to push a new
"requests on current connection" onto the scoreboard handle for the slot its
currently using.  This is a bit of an odd place to fix up the connection count,
but the ap_increment_counts is currently only called by the eor_bucket and I
didn't want to put async vs. not async logic there.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 60647] "access this connection" wrong with event MPM

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=60647

Eric Covener <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #34676|0                           |1
        is obsolete|                            |

--- Comment #1 from Eric Covener <[hidden email]> ---
Created attachment 34678
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34678&action=edit
remove test val

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 60647] "access this connection" wrong with event MPM

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=60647

Eric Covener <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |FixedInTrunk

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 60647] "access this connection" wrong with event MPM

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=60647

Szőgyényi Gábor <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 60647] "access this connection" wrong with event MPM

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=60647

Graham Leggett <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Graham Leggett <[hidden email]> ---
Backported to v2.4.40.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]