Squid Proxy Performance Limits

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Squid Proxy Performance Limits

Ob Rzwo
Hello,

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.

Greetings, Ob Rzwo

_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: Squid Proxy Performance Limits

Alex Rousskov
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.
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users