View Single Post

  #3 (permalink)  
Old 08-27-2003
Joshua Slive
 
Posts: n/a
Default Re: Maximum # of virtual hosts ?

joe@via.net (Joe McGuckin) wrote in message news:<248eb73d.0308261114.670f8d1e@posting.google. com>...
> What's the maximum number of virtual host accounts Apache can handle?
>
> Hundreds? Thousands?
>
> Is it strictly a cpu limitation?


If you use dynamic vhosting (with mod_rewrite or mod_vhost_alias) then
it really makes no difference how many. You could have millions if
you could fit them on the disk.

With standard vhosting, there is a linear lookup of the hosts, plus
each <virtualhost> block will require some memory for the apache
configuration structure. But I still think you wouldn't have any
problem doing thousands, if they don't get many requests.

Joshua.