You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Johan Mulder <jo...@immortal.localhost.nl> on 2001/11/05 13:42:25 UTC
general/8679: Major memory usage with lots of vhosts.
>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 <ap...@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! ]