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 46282] apache2.2 reverse proxy causing full memory and swap
Date Sun, 14 Dec 2008 09:11:47 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46282





--- Comment #3 from Stefan Fritsch <sf@sfritsch.de>  2008-12-14 01:11:46 PST ---
This looks like apache uses about 120MB of memory to store a few thousand
config directives and the corresponding compiled regular expressions, i.e. on
the order of 10K per directive (depending on how many 'a few' is). This doesn't
look optimal but is probably acceptable.

However, regardless of the used memory, your configuration will allways be dead
slow because apache has to do thousands of regexp matches for every request.
Use some more efficient configuration (e.g. with mod_rewrite and RewriteMaps)
instead. If you have problems implementing this, ask on some support mailing
list.


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


Mime
View raw message