[squid-users] Squid Crashing

Panda Admin pandanonomous at gmail.com
Tue Feb 9 19:00:01 UTC 2016


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 at treenet.co.nz> 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 at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20160209/ed52cd40/attachment.html>


More information about the squid-users mailing list