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 2010/03/29 20:35:46 UTC

DO NOT REPLY [Bug 48388] mod proxy disabling workers after a single error

https://issues.apache.org/bugzilla/show_bug.cgi?id=48388

Daniel Ruggeri <DR...@primary.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Daniel Ruggeri <DR...@primary.net> 2010-03-29 18:35:45 UTC ---
Cristian;
   Have you had the opportunity to set LogLevel to debug for additional
information and confirmed that all logging is making it to the error_log in
question? Given your configuration, I think the error is happening as a request
is being processed. Do you have any way to duplicate this problem or perhaps
confirm that the backend is not having any sort of problems?

The relevant code in question is in modules/proxy/proxy_util.c
    /*
     * Put the entire worker to error state if
     * the PROXY_WORKER_IGNORE_ERRORS flag is not set.
     * Altrough some connections may be alive
     * no further connections to the worker could be made
     */
    if (!connected && PROXY_WORKER_IS_USABLE(worker) &&
        !(worker->s->status & PROXY_WORKER_IGNORE_ERRORS)) {
        worker->s->status |= PROXY_WORKER_IN_ERROR;
        worker->s->error_time = apr_time_now();
        ap_log_error(APLOG_MARK, APLOG_ERR, 0, s,
            "ap_proxy_connect_backend disabling worker for (%s)",
            worker->hostname);
    }

This is after a loop that will iterate through each backend address returned by
DNS and attempt connection. I ask if this is all of the log because there
should be at least one more error message that accompanies this one.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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