The following reply was made to PR general/1428; it has been noted by GNATS.

From: Dean Gaudet <[EMAIL PROTECTED]>
To: Brian Atkins <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: general/1428: Increasing number of non-IP virtual hosts 
drastically increases memory demands
Date: Tue, 18 Nov 1997 12:31:51 -0800 (PST)

 I suspect this is an issue with your config only and not a general
 problem.  For example, I just created a server with 2000 non-IP virtual
 hosts and it only consumes 4.5Mb RSS, 5.3Mb SZ.  Most of that is also
 shared between the servers... which works well on linux which has
 optimistic memory allocation; but probably chews swap which is never used
 on other operating systems (which use pessimistic allocation). 
 
 If you're duplicating configuration a lot rather than inheriting it from
 the main server then you're bound to chew a lot of memory, and there is
 absolutely nothing we can do about it.  Your vhosts should be extremely
 minimal, like this: 
 
 <VirtualHost a.b.c.d>
 ServerName foo.com
 ServerAlias *.foo.com
 ServerAdmin [EMAIL PROTECTED]
 DocumentRoot /www/docroot/foo.com
 </VirtualHost>
 
 Dean
 
 

Reply via email to