<div dir="rtl"><div dir="ltr">By the help of God.</div><div dir="ltr"><br></div><div dir="ltr">Sorry I forgot to say that cache is disabled in this setup and the increasing traffic rate on the clients side can cause a bottle neck as it reaches the maximum</div><div dir="ltr">rates that the customers have.</div><div dir="ltr">Is there any option to limit the traffic?</div></div><br><div class="gmail_quote"><div dir="rtl" class="gmail_attr">בתאריך יום ו׳, 29 בדצמ׳ 2023 ב-13:15 מאת Amos Jeffries <<a href="mailto:squid3@treenet.co.nz">squid3@treenet.co.nz</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">This may be normal. A proxy cache like Squid moves objects closer to the clients, reduces upstream traffic and multiplexes transactions. All of which increase the traffic bandwidth efficiency. Allowing clients to receive their downloaded content faster, and thus users can browse through more pages faster.<div><br><div>This type of user traffic increase can be just the result of users doing more.</div><div>Notice that the WAN/eth0 traffic has decreased by ~30% despite this LAN increase.</div><div>You can check the Hit Ratio in squid mgr:info report lines up with the increased efficiency. <br><div><br></div><div>Cheers, <br>Amos</div></div></div></div><div style="line-height:1.5"><br><br>-------- Original message --------<br>From: Ben Goz<br>Date: Mon, 25 Dec 2023, 04:11<br><blockquote><div dir="rtl"><div dir="ltr">Hi,</div><div dir="ltr">This is basically the network topology that I'm using:</div><div dir="ltr"> adsl <--> vrf <--> <eth1> [squid/icap machine] <eth0> <--> vrf <--> <internet><br></div><div dir="ltr"><br></div><div dir="ltr">When traffic goes via squid I see that eth1 (The one closes to adsl users) is very high this is from sar output:</div><div dir="ltr"><br></div><div dir="ltr">Average: IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil<br>Average: lo 4191.83 4191.83 16976.00 16976.00 0.00 0.00 0.00 0.00<br>Average: eth0 2921.48 1224.57 3432.46 485.77 0.00 0.00 0.00 0.28<br>Average: eth1 7558.70 11544.74 920.91 <b>14447.44</b> 0.00 0.00 0.00 1.18<br></div><div dir="ltr"><br></div><div dir="ltr">When traffic doesn't go via squid this is the output:</div><div dir="ltr"><br></div><div dir="ltr">Average: IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil<br>Average: lo 19.10 19.10 2.25 2.25 0.00 0.00 0.00 0.00<br>Average: eth0 3666.40 2133.70 4608.70 409.59 0.00 0.00 0.00 0.38<br>Average: eth1 2213.40 3741.10 424.38 <b>4613.08</b> 0.00 0.00 0.00 0.38<br></div><div dir="ltr"><br></div><div dir="ltr">I'm can't tell for sure that this is related but I saw several times the kernel prints:</div><div dir="ltr">TCP: out of memory -- consider tuning tcp_mem<br></div><div dir="ltr"><br></div><div dir="ltr">The squid version I'm using is:</div><div dir="ltr">/usr/local/squid/sbin/squid -v<br>Squid Cache: Version 6.5-VCS<br>Service Name: squid<br><br>This binary uses OpenSSL 3.0.2 15 Mar 2022. configure options: '--with-large-files' '--with-openssl' '--enable-ssl' '--enable-ssl-crtd' '--enable-icap-client' '--enable-linux-netfilter' '--disable-ident-lookups'<br></div><div dir="ltr"><br></div><div dir="ltr">And I turned off persistence from client, icap and server sessions.</div><div dir="ltr"><br></div><div dir="ltr">What could be the problem?</div><div dir="ltr"><br></div><div dir="ltr">Thanks,</div><div dir="ltr">Ben </div><div dir="ltr"><br></div><div dir="ltr"><br></div></div>
</blockquote></div>_______________________________________________<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="https://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">https://lists.squid-cache.org/listinfo/squid-users</a><br>
</blockquote></div>