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 2008/06/02 10:14:18 UTC

DO NOT REPLY [Bug 44381] Apache in Forward Proxy mode using 90% + CPU

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


Colin Dean <c....@durham.ac.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |c.c.dean@durham.ac.uk




--- Comment #33 from Colin Dean <c....@durham.ac.uk>  2008-06-02 01:14:17 PST ---
Ruediger,

Your patch to http_filters.c also fixes our spinning Apache.

We have a Heartbeat pair of servers running 2.2.8 as load balancers using
mod_proxy_balancer, feeding 3 2.2.8 backends.  Typically 2 or 3 times a week
one of the load balancers would start spinning at 100% CPU, first logging:

  [info] [client n.n.n.n] (70007)The timeout specified has expired: SSL input
filter read failed.

and then furiously logging tens of times a second until killed:

  [info] [client n.n.n.n] (70014)End of file found: SSL input filter read
failed.

where n.n.n.n is IP address of a backend server. We moved from prefork MPM to
worker, but it didn't help.  I rebuilt load balancers with fix from
http://svn.apache.org/viewvc?view=rev&revision=631362, but also your suggested
patch of 2008-03-12 to httpd_filters.c, with an additional logging line before
the "return rv".  Now (using worker MPM, not tested prefork) we get no
spinning, but instead 2 or 3 times a week just a pair of logging lines:

  [info] [client n.n.n.n] (70007)The timeout specified has expired: SSL input
filter read failed.
  [error] [client n.n.n.n] ap_http_filter: error 70007

(the 2nd line is mine) and no obvious problem with the service.  Looks like
your patch could usefully be pushed into the main source tree.

Cheers,

Colin


-- 
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