<div dir="ltr"><div>Thank you all, this is the output:<br>vm.overcommit_memory = 0<br>vm.swappiness = 60<br></div>I have a Redhat 6.6 <br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-09-05 15:08 GMT-03:00 Marcus Kool <span dir="ltr"><<a href="mailto:marcus.kool@urlfilterdb.com" target="_blank">marcus.kool@urlfilterdb.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Linux, an important sysctl parameter that determines how Linux behaves with respect to VM allocation is vm.overcommit_memory (should be 0).<br>
And vm.swappiness is important to tune servers (should be 10-15).<br>
<br>
Which version of Linux do you have and what is the output of<br>
sysctl -a | grep -e vm.overcommit_memory -e vm.swappiness<span class="HOEnZb"><font color="#888888"><br>
<br>
Marcus</font></span><span class=""><br>
<br>
<br>
On 09/04/2015 07:04 PM, Jorgeley Junior wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Thanks Amos, i will increase the swap<br>
<br></span><span class="">
Em 04/09/2015 17:22, "Amos Jeffries" <<a href="mailto:squid3@treenet.co.nz" target="_blank">squid3@treenet.co.nz</a> <mailto:<a href="mailto:squid3@treenet.co.nz" target="_blank">squid3@treenet.co.nz</a>>> escreveu:<br>
<br>
On 5/09/2015 7:16 a.m., Jorgeley Junior wrote:<br>
> Thanks Amos, my swap is 32GB, so that's causing the error as you said.<br>
> Which is the better choice: increase the swap size or reduce the<br>
> cache_mem???<br>
><br>
<br>
Both probably. 128 GB swap I suspect you will need.<br>
<br>
Increase the swap so the system lets Squid use more virtual memory.<br>
<br>
Decrease the cache_mem so that Squid does not actually end up using the<br>
swap for its main worker processes. That is a real killer for performance.<br>
<br>
<br>
Amos<br>
<br>
<br>
<br></span><span class="">
_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br>
<br>
</span></blockquote>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div style="text-align:left"><font size="4"><b><u><br></u></b></font></div><div style="text-align:left"><font size="4"><b><u><img src="https://lh6.googleusercontent.com/-xODPvbH2piQ/T6RqD0dqXjI/AAAAAAAAAPk/0I8Y3aq0mYM/h120/linuxano+assinatura+e-mail.png"><br></u></b></font></div></div>
</div>