Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
pfSense Forum
pfSense English Support
»
Packages
»
HowTo analyze network bandwidth for WAN & LAN on pfSense box with Squid Proxy
Username:
Password:
1 Hour
1 Day
1 Week
1 Month
Forever
Home
Help
Search
Login
Register
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: HowTo analyze network bandwidth for WAN & LAN on pfSense box with Squid Proxy (Read 3066 times)
0 Members and 1 Guest are viewing this topic.
jamesseen
Jr. Member
Offline
Posts: 27
HowTo analyze network bandwidth for WAN & LAN on pfSense box with Squid Proxy
«
on:
March 28, 2008, 09:49:14 pm »
Dear Gurus,
I noticed that there was bandwidth problem (slow) on pfSense with Squid Proxy Server installed.
http://forum.pfsense.org/index.php/topic,7281.0.html
.
http://forum.pfsense.org/index.php/topic,7911.15.html
.
The speed would not be reduced if Squid Proxy is not installed in pfSense.
How to improve the speed with Proxy Sever installed???
Logged
sullrich
Administrator
Hero Member
Offline
Posts: I am a geek!!
Re: HowTo analyze network bandwidth for WAN & LAN on pfSense box with Squid Proxy
«
Reply #1 on:
March 29, 2008, 06:38:41 pm »
Search the forum. The squid package has been fixed in the last couple of days.
Logged
Follow me on Twitter!
http://twitter.com/sullrich
pfSense Commercial Support
Paying customers receive support priority and detailed answers through the official commercial support channels, forum users receive as much help as time permits.
chudy
Full Member
Offline
Posts: 136
Re: HowTo analyze network bandwidth for WAN & LAN on pfSense box with Squid Prox
«
Reply #2 on:
July 27, 2008, 10:56:08 pm »
To Fix Squid
add this to the /boot/loader.conf
kern.ipc.nmbclusters=32768
kern.maxfiles=65536
kern.maxfilesperproc=32768
net.inet.ip.portrange.last=65535
or just delete it and replace with
autoboot_delay="1"
#kern.ipc.nmbclusters="0"
hint.apic.0.disabled=1
kern.hz=100
#for squid
kern.ipc.nmbclusters="32768"
kern.maxfiles="65536"
kern.maxfilesperproc="32768"
net.inet.ip.portrange.last="65535"
you might ask why squid is so slow? its because default configuration of pfsense is router not as a server
thats why kern.ipc.nmbclusters="0" <- is set to zero. if you just simply remove this squid will be just fine.
but to tune the squid i add this
kern.ipc.nmbclusters=32768
kern.maxfiles=65536
kern.maxfilesperproc=32768
net.inet.ip.portrange.last=65535
i just figure out why squid is slow. but i don't like the binary package of squid. i'll be using the squid HEAD bec of the store_rewrite feature for caching youtubes videos and other video files and mp3.
«
Last Edit: July 31, 2008, 03:37:41 am by chudy
»
Logged
currently using lusca-HEAD(patched) for CDN(youtube vidoes) caching, bandwidth throttling(throttle if file is bigger than 32KB) and aggressive caching.
lusca and SRG for pfsense and some patch
http://code.google.com/p/pfsense-cacheboy
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Administrative
-----------------------------
=> Forum rules
=> Messages from the pfSense Team
=> Feedback
-----------------------------
pfSense English Support
-----------------------------
=> Installation and Upgrades
=> General Questions
=> 2.0-BETA Snapshot Feedback and Problems
=> Post a bounty
===> Completed Bounties
===> Expired/Withdrawn Bounties
=> Hardware
=> Firewalling
=> NAT
=> CARP/VIPs
=> Routing and Multi WAN
=> Traffic Shaping
=> DHCP and DNS
=> IPsec
=> PPTP
=> PPPoE Server
=> Captive Portal
=> webGUI
=> Wireless
=> SNMP
=> DNS Server testing area
=> Packages
=> Virtualization installations and techniques
=> OpenVPN
=> Gaming
-----------------------------
Development/Documentation
-----------------------------
=> Documentation
=> Development
-----------------------------
General Category
-----------------------------
=> General Discussion
-----------------------------
International Support
-----------------------------
=> Indonesian
=> Deutsch
=> Español
=> Français
=> Italiano
=> Russian
=> Nederlands
=> Norwegian
=> Portuguese
=> Polish
=> Romanian
=> Swedish
=> Turkish
-----------------------------
Retired
-----------------------------
=> 1.2.3-PRERELEASE-TESTING snapshots - RETIRED
=> 1.2.1-RC Snapshot Feedback and Problems-RETIRED
Loading...