<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[SQUID proxy question]]></title><description><![CDATA[<p dir="auto">Hi guys,</p>
<p dir="auto">I've been using a "vanilla" pfSense for a few weeks now / 2.1.5-RELEASE (amd64)</p>
<p dir="auto">Recently, I installed the SQUID3 package (3.1.20 pkg 2.1.2)</p>
<p dir="auto">Since then, there has been a drastic performance reduction (i.e. : when browsing the Web, etc.)</p>
<p dir="auto">I've been looking over the options but I don't see how I can tweak this.</p>
<p dir="auto">Right now it is in transparent mode.</p>
<p dir="auto">If I can fix the performance issue, I would like to enable authentication and use with SQUIDGUARD or maybe DANSGUARDIAN.</p>
<p dir="auto">For info my system is a Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz (4 CPUs: 1 package(s) x 2 core(s) x 2 SMT threads) for 4 Gb of RAM.</p>
]]></description><link>https://forum.netgate.com/topic/75819/squid-proxy-question</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Nov 2026 01:40:24 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/75819.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 13 Nov 2014 19:57:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to SQUID proxy question on Tue, 16 Dec 2014 00:38:19 GMT]]></title><description><![CDATA[<p dir="auto">Been running it for a few days now and that was it!</p>
<p dir="auto">Added the alternate DNS and now it's lightning fast!</p>
<p dir="auto">Thanks again <a class="plugin-mentions-user plugin-mentions-a" href="/user/sowen" aria-label="Profile: sowen">@<bdi>sowen</bdi></a> and <a class="plugin-mentions-user plugin-mentions-a" href="/user/kom" aria-label="Profile: KOM">@<bdi>KOM</bdi></a></p>
]]></description><link>https://forum.netgate.com/post/501477</link><guid isPermaLink="true">https://forum.netgate.com/post/501477</guid><dc:creator><![CDATA[BlazeStar]]></dc:creator><pubDate>Tue, 16 Dec 2014 00:38:19 GMT</pubDate></item><item><title><![CDATA[Reply to SQUID proxy question on Fri, 12 Dec 2014 16:46:14 GMT]]></title><description><![CDATA[<p dir="auto">I added the DNS from my ISP to alternate DNS list.</p>
<p dir="auto">This improved the speed dramatically and instantly.</p>
<p dir="auto">I've been running SQUID with these settings for a few hours and : so far so good!</p>
<p dir="auto">I think that was my problem!</p>
<p dir="auto">Thanks guys for your answers!</p>
]]></description><link>https://forum.netgate.com/post/500933</link><guid isPermaLink="true">https://forum.netgate.com/post/500933</guid><dc:creator><![CDATA[BlazeStar]]></dc:creator><pubDate>Fri, 12 Dec 2014 16:46:14 GMT</pubDate></item><item><title><![CDATA[Reply to SQUID proxy question on Thu, 11 Dec 2014 21:40:19 GMT]]></title><description><![CDATA[<p dir="auto">Your DNS lookup times are terrible. Just put your usual DNS server in the <em>Use alternate DNS-servers for the proxy-server</em> box.  <strong>Save</strong> and try to use Squid again.</p>
]]></description><link>https://forum.netgate.com/post/500748</link><guid isPermaLink="true">https://forum.netgate.com/post/500748</guid><dc:creator><![CDATA[KOM]]></dc:creator><pubDate>Thu, 11 Dec 2014 21:40:19 GMT</pubDate></item><item><title><![CDATA[Reply to SQUID proxy question on Thu, 11 Dec 2014 20:47:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kom" aria-label="Profile: KOM">@<bdi>KOM</bdi></a>:</p>
<blockquote>
<p dir="auto">Did you try sowen's suggestion?</p>
</blockquote>
<p dir="auto">You're right I did not !! Sorry !</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sowen" aria-label="Profile: sowen">@<bdi>sowen</bdi></a>:</p>
<blockquote>
<p dir="auto">Setting the alternate DNS value in the squid config <em>may</em> improve performance.</p>
<p dir="auto">This is only the case if web pages seem to load very slowly initially.</p>
</blockquote>
<p dir="auto">So that's exactly what's going on in my case.</p>
<p dir="auto">But I don't know what to set the Alternate DNS value to!</p>
<p dir="auto">Here's my config :<br />
http://cl.ly/image/1S1G00373t3b<br />
http://cl.ly/image/442C2W0D1b0a</p>
<p dir="auto">Where EXAMPLE.COM is my real domain.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kom" aria-label="Profile: KOM">@<bdi>KOM</bdi></a>:</p>
<blockquote>
<p dir="auto">SSH in and run:</p>
<p dir="auto">squidclient -p 3128 mgr:info</p>
<p dir="auto">Look at the bottom for <em>Median Service Times</em>.  Anything look like a big delay there?</p>
</blockquote>
<p dir="auto">Okay I did, here's what it gives me.</p>
<p dir="auto">However be aware that I had stopped the SQUID service in pfSense because everyone was complaining about delays.</p>
<p dir="auto">I restarted it, and when I started to see it was getting a little bit slow, I ran the command.</p>
<pre><code>HTTP/1.0 200 OK
Server: squid/3.1.22
Mime-Version: 1.0
Date: Thu, 11 Dec 2014 20:45:32 GMT
Content-Type: text/plain
Expires: Thu, 11 Dec 2014 20:45:32 GMT
Last-Modified: Thu, 11 Dec 2014 20:45:32 GMT
X-Cache: MISS from XXX
X-Cache-Lookup: MISS from XXX:3128
Via: 1.0 XXX (squid/3.1.22)
Connection: close

Squid Object Cache: Version 3.1.22
Start Time:	Thu, 11 Dec 2014 20:33:40 GMT
Current Time:	Thu, 11 Dec 2014 20:45:32 GMT
Connection information for squid:
	Number of clients accessing cache:	6
	Number of HTTP requests received:	271
	Number of ICP messages received:	0
	Number of ICP messages sent:	0
	Number of queued ICP replies:	0
	Number of HTCP messages received:	0
	Number of HTCP messages sent:	0
	Request failure ratio:	 0.00
	Average HTTP requests per minute since start:	22.8
	Average ICP messages per minute since start:	0.0
	Select loop called: 83680 times, 8.513 ms avg
Cache information for squid:
	Hits as % of all requests:	5min: 2.2%, 60min: 1.1%
	Hits as % of bytes sent:	5min: 2.6%, 60min: 0.5%
	Memory hits as % of hit requests:	5min: 0.0%, 60min: 0.0%
	Disk hits as % of hit requests:	5min: 100.0%, 60min: 100.0%
	Storage Swap size:	92158 KB
	Storage Swap capacity:	90.0% used, 10.0% free
	Storage Mem size:	252 KB
	Storage Mem capacity:	 3.1% used, 96.9% free
	Mean Object Size:	23.65 KB
	Requests given to unlinkd:	0
Median Service Times (seconds)  5 min    60 min:
	HTTP Requests (All):   0.09219  0.09219
	Cache Misses:          0.08729  0.08729
	Cache Hits:            6.62870  6.62870
	Near Hits:             0.00000  0.00000
	Not-Modified Replies:  0.00000  0.00000
	DNS Lookups:          10.14244 10.14244
	ICP Queries:           0.00000  0.00000
Resource usage for squid:
	UP Time:	712.384 seconds
	CPU Time:	1.631 seconds
	CPU Usage:	0.23%
	CPU Usage, 5 minute avg:	0.22%
	CPU Usage, 60 minute avg:	0.24%
	Process Data Segment Size via sbrk(): 0 KB
	Maximum Resident Size: 15544 KB
	Page faults with physical i/o: 0
Memory accounted for:
	Total accounted:         1713 KB
	memPoolAlloc calls:     92638
	memPoolFree calls:      94125
File descriptor usage for squid:
	Maximum number of file descriptors:   11095
	Largest file desc currently in use:     31
	Number of file desc currently in use:   18
	Files queued for open:                   0
	Available number of file descriptors: 11077
	Reserved number of file descriptors:   100
	Store Disk files open:                   0
Internal Data Structures:
	  3924 StoreEntries
	    63 StoreEntries with MemObjects
	    61 Hot Object Cache Items
	  3896 on-disk objects

</code></pre>
]]></description><link>https://forum.netgate.com/post/500732</link><guid isPermaLink="true">https://forum.netgate.com/post/500732</guid><dc:creator><![CDATA[BlazeStar]]></dc:creator><pubDate>Thu, 11 Dec 2014 20:47:30 GMT</pubDate></item><item><title><![CDATA[Reply to SQUID proxy question on Thu, 11 Dec 2014 01:58:27 GMT]]></title><description><![CDATA[<p dir="auto">Did you try sowen's suggestion?  I found <a href="https://forum.pfsense.org/index.php?topic=29356.0" target="_blank" rel="noopener noreferrer nofollow ugc">this</a> but it's a little old.</p>
<p dir="auto">SSH in and run:</p>
<p dir="auto">squidclient -p 3128 mgr:info</p>
<p dir="auto">Look at the bottom for <em>Median Service Times</em>.  Anything look like a big delay there?</p>
]]></description><link>https://forum.netgate.com/post/500561</link><guid isPermaLink="true">https://forum.netgate.com/post/500561</guid><dc:creator><![CDATA[KOM]]></dc:creator><pubDate>Thu, 11 Dec 2014 01:58:27 GMT</pubDate></item><item><title><![CDATA[Reply to SQUID proxy question on Wed, 10 Dec 2014 21:59:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kom" aria-label="Profile: KOM">@<bdi>KOM</bdi></a>:</p>
<blockquote>
<p dir="auto">Are you running pfSense on a slow disk?  I use Squid in a production environment and it performs well enough.</p>
</blockquote>
<p dir="auto">I'm running pfSense on a dedicated server which has, to my humble opinion, pretty good specs :</p>
<p dir="auto">Dell PowerEdge T110<br />
Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz (4 CPUs: 1 package(s) x 2 core(s) x 2 SMT threads)<br />
4GB Memory (1x4GB), 1600Mhz, Dual Ranked UDIMM<br />
500GB 7.2K RPM SATA 3Gbps 3.5in Cabled Hard Drive</p>
<p dir="auto">Maybe I should boost the RAM ?</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/heper" aria-label="Profile: heper">@<bdi>heper</bdi></a>:</p>
<blockquote>
<p dir="auto">if you don't need a huge cache but simply want to use it to restrict certain things: set HD cache to zero/null and only cache in RAM</p>
</blockquote>
<p dir="auto">I did try that… I don't have too much RAM though (4GB)</p>
<p dir="auto">Still same problem.</p>
<p dir="auto">To describe the issue:</p>
<p dir="auto">When I type in an address, it will take a while to load.<br />
Once it has loading (connected to the host, per say) it will be very fast.</p>
<p dir="auto">If I try to open several websites (different domain names) in the same time, it'll be catastrophically slow and some of them will even fail when loading.<br />
Refreshing will work.</p>
<p dir="auto">As soon as first connection has been established, it becomes very fast.</p>
]]></description><link>https://forum.netgate.com/post/500531</link><guid isPermaLink="true">https://forum.netgate.com/post/500531</guid><dc:creator><![CDATA[BlazeStar]]></dc:creator><pubDate>Wed, 10 Dec 2014 21:59:09 GMT</pubDate></item><item><title><![CDATA[Reply to SQUID proxy question on Mon, 24 Nov 2014 22:06:35 GMT]]></title><description><![CDATA[<p dir="auto">if you don't need a huge cache but simply want to use it to restrict certain things: set HD cache to zero/null and only cache in RAM</p>
]]></description><link>https://forum.netgate.com/post/497334</link><guid isPermaLink="true">https://forum.netgate.com/post/497334</guid><dc:creator><![CDATA[heper]]></dc:creator><pubDate>Mon, 24 Nov 2014 22:06:35 GMT</pubDate></item><item><title><![CDATA[Reply to SQUID proxy question on Mon, 24 Nov 2014 21:24:22 GMT]]></title><description><![CDATA[<p dir="auto">Are you running pfSense on a slow disk?  I use Squid in a production environment and it performs well enough.</p>
]]></description><link>https://forum.netgate.com/post/497329</link><guid isPermaLink="true">https://forum.netgate.com/post/497329</guid><dc:creator><![CDATA[KOM]]></dc:creator><pubDate>Mon, 24 Nov 2014 21:24:22 GMT</pubDate></item><item><title><![CDATA[Reply to SQUID proxy question on Mon, 24 Nov 2014 21:07:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kom" aria-label="Profile: KOM">@<bdi>KOM</bdi></a>:</p>
<blockquote>
<p dir="auto">Did you enable Squid with its defaults or did you twiddle various options?  If not default, what is your hard disk cache size, memory cache size and Max object size?</p>
</blockquote>
<p dir="auto">I did not play with ANY setting, I just installed it and launched it.</p>
<p dir="auto">To completely disable it, I uninstalled it completely until I can figure out how to properly configured it.</p>
]]></description><link>https://forum.netgate.com/post/497324</link><guid isPermaLink="true">https://forum.netgate.com/post/497324</guid><dc:creator><![CDATA[BlazeStar]]></dc:creator><pubDate>Mon, 24 Nov 2014 21:07:58 GMT</pubDate></item><item><title><![CDATA[Reply to SQUID proxy question on Fri, 14 Nov 2014 15:39:52 GMT]]></title><description><![CDATA[<p dir="auto">Setting the alternate DNS value in the squid config <em>may</em> improve performance.</p>
<p dir="auto">This is only the case if web pages seem to load very slowly initially.</p>
]]></description><link>https://forum.netgate.com/post/495654</link><guid isPermaLink="true">https://forum.netgate.com/post/495654</guid><dc:creator><![CDATA[sowen]]></dc:creator><pubDate>Fri, 14 Nov 2014 15:39:52 GMT</pubDate></item><item><title><![CDATA[Reply to SQUID proxy question on Thu, 13 Nov 2014 20:51:41 GMT]]></title><description><![CDATA[<p dir="auto">Did you enable Squid with its defaults or did you twiddle various options?  If not default, what is your hard disk cache size, memory cache size and Max object size?</p>
]]></description><link>https://forum.netgate.com/post/495514</link><guid isPermaLink="true">https://forum.netgate.com/post/495514</guid><dc:creator><![CDATA[KOM]]></dc:creator><pubDate>Thu, 13 Nov 2014 20:51:41 GMT</pubDate></item></channel></rss>