www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johan Mulder <jo...@immortal.localhost.nl>
Subject general/8679: Major memory usage with lots of vhosts.
Date Mon, 05 Nov 2001 12:42:25 GMT

>Number:         8679
>Category:       general
>Synopsis:       Major memory usage with lots of vhosts.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Nov 05 04:50:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     johan@immortal.localhost.nl
>Release:        1.3.22 (probably all releases)
>Organization:
apache
>Environment:
Linux webdev.vuurwerk.nl 2.4.13-grsec-1.8.6 #1 Thu Nov 1 06:24:58 EST 2001 i686 unknown
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)
>Description:
When you load for example a /17 worth of vhosts (aka 16384 vhosts), the memory usage of apache
will rise unacceptible high.
A configuration containing 16384 vhosts will use 283 mb of (shared) memory.
IP hash statistics say:
[Fri Nov  2 09:48:11 2001] [debug] http_vhost.c(328): iphash: total hashed = 16385, avg chain
= 16, chain lengths (count x len): 1x128 127x126 127x2 1x1 768x0
>How-To-Repeat:
See full description.
>Fix:
No idea. Haven't looked at the source yet ;)
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]
 
 


Mime
View raw message