[squid-users] Squid Crashing

Amos Jeffries squid3 at treenet.co.nz
Tue Feb 9 17:42:37 UTC 2016


On 10/02/2016 5:21 a.m., Kinkie wrote:
> If you are swapping performance will suffer terribly. How large are these
> files and how much ram do youbhave?


NP: fork() which is used by Squid can require virtual memory in large
amounts. Even though the processes do not actually use that much RAM.

In your particular case with Squid worker using 30% (say 'N') of your
RAM, the fork() for those 5 ssl_crtd helpers will require Nx5 of virtual
memory to start, while only using ~4MB of real RAM.

Some OS do it better than others. Some actually allocate swap space for
all that virtual memory and never use it (yuck).

Amos



More information about the squid-users mailing list