Re: vhosts conf file efficiency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2012-02-14 at 12:21 +1000, Nick Edwards wrote:
On 2/12/12, Steve Swift <Swifty@xxxxxxxxxxxxxx> 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.



Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux