SQUID Making the connection too Slow
-
Hi,
I have pfsense 1.2.3 with squid, but for some when I browse anything behind the proxy the connection is too slow. I already tried things like change /boot/loader.conf to be like this:
autoboot_delay="1"
vm.kmem_size="435544320"
vm.kmem_size_max="535544320"
kern.ipc.nmbclusters="32768"
kern.maxfiles="65536"
kern.maxfilesperproc="32768"
net.inet.ip.portrange.last="65535"But nothing changes, also I realize in my access.log I'm getting lots of these messages:
TCP_MISS/200 4051 GET http://i4.ytimg.com/vi/WTWvXj1tNCU/default.jpg
Any help will be really appreciate
Thanks
-
Do you have traffic shaping on??…This will limit your speeds depending on what's set in the shaper. Also, in Squid, what is set in cache mgmt for memory, min/max object size?
-
Try making your loader.conf like this one and see if it helps….
http://forum.pfsense.org/index.php/topic,14912.msg78792.html#msg78792 -
@ColdFusion: " Also, in Squid, what is set in cache mgmt for memory, min/max object size?"
May i know what's the right cache mgt to put there? Specs: 160HD, 2.5GB RAM, users: 25 task: browsing
-
As an example,,,I have memory at 384MB….min object is 0 and max is 307200 and Hard disk cache 20000.
-
Thank you ColfFusion :)
Mine: 2.5GBRAM 160GB HD. Users: 25
min object is 12 and max is 8000 and Hard disk cache 1024.Is this okay? :)
-
If it works for you the way you want it..then yes..if you want to cache larger files then increase the max, decreasing the min object size lower than 8 will cache smaller objects as well.
-
Thanks. Im gonna observe this for 1 week.