httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noel Butler <noel.but...@ausics.net>
Subject Re: [users@httpd] vhosts conf file efficiency
Date Tue, 14 Feb 2012 02:48:00 GMT
On Tue, 2012-02-14 at 12:21 +1000, Nick Edwards wrote:

> On 2/12/12, Steve Swift <Swifty@swiftys.org.uk> wrote:
> > I don't think it would make a significant difference if you had a single
> > file with 2000 vhosts, or 2000 files with one vhost each.
> >
> 
> I think you're right, I added half a dozen test domains and checked


Remember,

openfile 1
readfile 1
closefile 1
   ...
openfile 2000
readfile 2000
closefile 2000

So its going to open, read and close 2000 files, rather than open, read
and close one file, that may or may not be noticeable at
startup/reloads, if I was a betting man, I'd say noticeable.




Mime
View raw message