Bug 52870 - 100% CPU usage while using Forward Proxy
Summary: 100% CPU usage while using Forward Proxy
Status: RESOLVED LATER
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_proxy (show other bugs)
Version: 2.2.17
Hardware: All All
: P2 critical (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords: MassUpdate
Depends on: 52391
Blocks:
  Show dependency tree
 
Reported: 2012-03-09 10:57 UTC by lingpeng
Modified: 2018-11-07 21:08 UTC (History)
2 users (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lingpeng 2012-03-09 10:57:39 UTC
+++ This bug was initially created as a clone of Bug #52391 +++

Dear,

At a certain point in time, httpd.exe starts using 100% cpu (one thread, so 12,5% on my 8-core machine). Over time, this shifts to 25%, 37,5%, 50% and higher, so I restart the service. I started noticing it since version 2.2.17.

The configuration file httpd.conf is the standard one with the following additions:

#Begin custom modules SVB

LoadModule cache_module modules/mod_cache.so
LoadModule disk_cache_module modules/mod_disk_cache.so

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_scgi_module modules/mod_proxy_scgi.so

#End custom modules SVB

#Begin custom settings SVB

<IfModule mod_cache.c>
	<IfModule mod_disk_cache.c>
		CacheDirLength 1
		CacheDirLevels 2
		CacheMaxFileSize 1000000000
		CacheMinFileSize 1
		CacheRoot T:\Apache\HTTPD\CacheRoot
		CacheEnable disk /
	</IfModule>
</IfModule>

ProxyRequests On
ProxyVia On

<Proxy *>
	Order deny,allow
	Deny from all
	Allow from 192.168.1
</Proxy>

#End custom settings SVB

Can I help you by adding a memory dump file and some log files?

Kind regards,

Sam
Comment 1 Ronnie Brunner 2012-03-09 12:20:16 UTC
Wrong product. I suspect you wanted to submit to 
  product: Apache httpd-2 
  module: mod_proxy
Comment 2 Ronnie Brunner 2012-03-09 12:24:19 UTC
Bummer... left it assigned to me, now I can't change it anymore (no permission in that product / module...) because I'm not working on these issues.

Can somebody of please unassign me? TIA
Comment 3 William A. Rowe Jr. 2018-11-07 21:08:29 UTC
Please help us to refine our list of open and current defects; this is a mass update of old and inactive Bugzilla reports which reflect user error, already resolved defects, and still-existing defects in httpd.

As repeatedly announced, the Apache HTTP Server Project has discontinued all development and patch review of the 2.2.x series of releases. The final release 2.2.34 was published in July 2017, and no further evaluation of bug reports or security risks will be considered or published for 2.2.x releases. All reports older than 2.4.x have been updated to status RESOLVED/LATER; no further action is expected unless the report still applies to a current version of httpd.

If your report represented a question or confusion about how to use an httpd feature, an unexpected server behavior, problems building or installing httpd, or working with an external component (a third party module, browser etc.) we ask you to start by bringing your question to the User Support and Discussion mailing list, see [https://httpd.apache.org/lists.html#http-users] for details. Include a link to this Bugzilla report for completeness with your question.

If your report was clearly a defect in httpd or a feature request, we ask that you retest using a modern httpd release (2.4.33 or later) released in the past year. If it can be reproduced, please reopen this bug and change the Version field above to the httpd version you have reconfirmed with.

Your help in identifying defects or enhancements still applicable to the current httpd server software release is greatly appreciated.