[squid-users] Squid Proxy Performance Limits
Alex Rousskov
rousskov at measurement-factory.com
Thu Dec 3 17:40:44 UTC 2020
On 12/3/20 12:07 PM, Ob Rzwo wrote:
> I am reaching the performance limits of the Squid Proxy. I have a
> certain base load on one instance with 100 to 500 connections at the
> same time. First it gets slower then 503s are thrown.
>
> Now the question:
>
> Are there any squid.conf settings that could ease the situation? (Except
> for `cache_dir aufs 1000 16 256` I have default settings IIRC.
The correct answer depends on where the bottleneck is (memory, disk,
CPU, network, file descriptors, DNS, etc.). In most cases, that answer
is "yes", but specific configuration changes would depend on the current
bottleneck.
What performance limits is your Squid instance hitting? Where is the
bottleneck? IIRC, there are Squid wiki pages and book chapters dedicated
to that complicated topic, but you can start with something as basic as
atop reports, syslog messages, and cache.log errors/warnings.
HTH,
Alex.
More information about the squid-users
mailing list