You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2025/08/18 18:41:29 UTC

[Bug 69782] New: Improve mod_proxy_hcheck with fcount resets upon hcheck success

https://bz.apache.org/bugzilla/show_bug.cgi?id=69782

            Bug ID: 69782
           Summary: Improve mod_proxy_hcheck with fcount resets upon
                    hcheck success
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy_hcheck
          Assignee: bugs@httpd.apache.org
          Reporter: aogburn@redhat.com
  Target Milestone: ---

Currently, the count of hcheck failures (fcount) is only reset after the
threshold is reached and the worker is disabled:

https://github.com/apache/httpd/blob/trunk/modules/proxy/mod_proxy_hcheck.c#L968


So this is just a running total of failures some unknown amount of time apart
with an unknown amount of successful hchecks in between.  For many cases, that
is likely a lot less helpful than only counting consecutive hcheck failures
until reaching the threshold.

Could we consider this for improvement?  Some possibilities would be:

-reset fcounts to 0 in the event of a successful hcheck or an option to toggle
that

-some configurable decay for accumulated fcounts (either time based or
decrementing an fcount after some set amounts of hcheck successes)

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 69782] Improve mod_proxy_hcheck with fcount resets upon hcheck success

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=69782

Aaron Ogburn <ao...@redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|2.5-HEAD                    |2.4.65

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org