The acl files are up to 16M in size. The RAM on the machine is 4G. Allocating swap space 8G for the OS has fixed the crashing issue. The only issue now is startup time. Squid is taking several minutes to start up. Is there a better solution that I'm missing?
Thanks!
On Tue, Feb 9, 2016 at 12:42 PM, Amos Jeffries <squid3@xxxxxxxxxxxxx> wrote:
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
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users