httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38403] - Child-Thread uses 100%CPU usage, mod_proxy ?
Date Fri, 27 Jan 2006 12:33:09 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38403>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38403





------- Additional Comments From mk-asf@gigacodes.de  2006-01-27 13:33 -------
This was the proposed patch, but i guess you're right and this is not used in my
setup.


*** mod_proxy_connect.c.myversion 2006-01-26 18:32:12.000000000 +0000
--- mod_proxy_connect.c.orig    2006-01-27 11:32:08.000000000 +0000
*************** static int proxy_connect_handler(request
*** 325,334 ****
                      else
                          break;
                  }
!                 else if ((pollevent & APR_POLLERR) || (pollevent & APR_POLLHUP))
{
!                   rv = APR_EOF;
                      break;
-               }
              }
              else if (cur->desc.s == client_socket) {
                  pollevent = cur->rtnevents;
--- 325,332 ----
                      else
                          break;
                  }
!                 else if ((pollevent & APR_POLLERR) || (pollevent & APR_POLLHUP))
                      break;
              }
              else if (cur->desc.s == client_socket) {
                  pollevent = cur->rtnevents;




Another interesting point:  
I configured the server to use a pool for to the backend server:


it limits the maximal connections to the backend server. this works normal, but
if i have this amok threads it stops working. could be related to the behaviour
of a graceful restart ..


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message