Re: vhosts conf file efficiency

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

 



On Tue, Feb 14, 2012 at 5:18 PM, Sean Conner <spc@xxxxxxxxxx> wrote:
> It was thus said that the Great Tom Evans once stated:
>> On Tue, Feb 14, 2012 at 4:32 PM, Sean Conner <spc@xxxxxxxxxx> wrote:
>> >  And really, how often is Apache restarted?  On a graceful restart, it can
>> > still serve requests.
>> >
>>
>> It's clear you have a strong opinion on this. I prefer my mission
>> critical systems not take longer than necessary to start up, whilst
>> you don't seem to mind. Each to their own.
>
>  What I dislike are statements like "it's faster to put all vhosts in your
> main configuration file" without anything to back it up.

Common sense? Experience? Understanding that loading 20,000 1k files
off disk is magnitudes slower than loading a single 20M file off disk?

> Noel Butler at
> least provided some numbers (1 second for 400 files) so people have *some*
> benchmark to go by.
>
>  So I can live with 5 seconds for 2,000 files if it makes administration
> easier on the rare occasions that Apache needs to be fully restarted (not
> just a graceful restart).  You prefer to save those five seconds, but don't
> mind editing a file with 2,000 vhosts.
>

I definitely prefer saving 5 seconds, but I never said that I would
edit a file with 20k vhosts in it, you have inferred that.

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