This is a discussion on Maximum # of virtual hosts ? within the Linux Web Servers forums, part of the Web Server and Related Forums category; What's the maximum number of virtual host accounts Apache can handle? Hundreds? Thousands? Is it strictly a cpu limitation? ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Joe McGuckin wrote:
> What's the maximum number of virtual host accounts Apache can handle? > > Hundreds? Thousands? > > Is it strictly a cpu limitation? > > Thanks, I saw one guy claiming 10k. I believe it's as much as your hardware can handle as long as they're not all requiring secure certs. |
|
|||
|
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. |
|
|||
|
Joe McGuckin schrieb:
> What's the maximum number of virtual host accounts Apache can handle? > > Hundreds? Thousands? > ... Hi, if want to create individual access_log or error_log files for each virtual host, your os will probably limit the max to some hundreds. Roger. |