Search squid archive

Re: What is a reasonable size for squid.conf?

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

 



On Fri, Jun 27, 2014 at 9:51 PM, Owen Crow <owen.crow@xxxxxxxxx> wrote:
> I am running a non-caching reverse proxy using version 3.3.10.
>
> My squid.conf is currently clocking in 60k lines (not including
> comments or blank lines). Combined with the conf files in my conf.d
> directory, I have a total of 89k lines in configuration.

Hi Owen,
  I suspect you have embedded in your squid.conf some very long ACL,
haven't you?
If so, what type is it, and how many lines?
As a general advice, you may want to consider moving these ACLs to
external files and reference them from the config-file.

> I have definitely noticed "-k reconfigure" calls taking on the order
> of 20 seconds to run when it used to be less than a couple seconds.
> (Same results with "-k test").

20 seconds is quite a bit. What has changed in the configuration file
since then?

> I've tried searching for anything related to max lines and similar,
> but it usually talks about squid.conf configuration options and not
> the file itself.
> If this is not documented per se, are there any anecdotal examples
> that have this many lines or more? I only see this growing over time.

There is no hard limit to the configuration file that I know of. Are
you experiencing any performance issues other than during
reconfiguration?

-- 
    Kinkie




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux