Re: vhosts conf file efficiency

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

 



On Tue, Feb 14, 2012 at 3:10 AM, Sean Conner <spc@xxxxxxxxxx> wrote:
>  Nope.  I just ran a program [1] that opened and read 25,018 files in 2.5
> seconds [2].  I'd bet unnoticeable.
>

So that is an extra 5 seconds on a graceful restart - apache will read
the config once, throw it away, and then read it again, so it has to
read those 20,000 files twice. 5 seconds not serving requests is not
ideal.

Probably best to avoid that cost if you can. You could use a
pre-processor to assemble the config files into one file, but that has
the downside of complicating the whole process.

Cheers

Tom

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[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