Squid Performance Issues - Immediately after starting
-
I've been looking for a solution for my problem for about a week, and I can't figure it out.
The hardware I'm running pfsense in an ESX box in vmware. I've given it 2 processors, and 1GB of RAM. I've also made sure that both nics attached are the E1000 type.
I'm trying to build a web logging server pfsense and squid, however I have a problem. On a fresh install of pfsense, everything runs perfectly.
The problem starts the second I install and enable the squid transparent proxy. There is a 3 mbps pipe coming into the box, and after squid is enabled it cuts down to about 0.25 mbps.
I've tried setting up nat rules to route all port 80 traffic through the default 3128 proxy port, with no transparent proxy enabled, and I get a Invalid URL error from client computers.
I've tried all the optimization fixes that I can find to no avail.
The processor is constantly under 10% utilization. I have less that 20% of memory being used.
There is no reason this should be this difficult, and I've set up other pfsense boxes in the past with no problems, I just have no idea what's going wrong here.
-
Anyone got anything?
-
There's a whole page in the wiki that has suggestions to speed things up.
http://doc.pfsense.org/index.php/Squid_Package_Tuning
-
There's a whole page in the wiki that has suggestions to speed things up.
http://doc.pfsense.org/index.php/Squid_Package_Tuning
Already tried all of them. Thus me posting here. I'm about to pull my hair out it's so annoying.
-
Next time it would be helpful if you stated exactly what you had already tried.
-
Which cache management options did you set ?
RAM, HDD and so on ?
Did add any additional squid options (for example caching windows updates) ? -
Which cache management options did you set ?
RAM, HDD and so on ?
Did add any additional squid options (for example caching windows updates) ?All defaults, except I have tried to give the cache 128 MB of RAM, instead of the standard 8. No change.
-
what cache filesystem do you use ? I had bad performance (delays) with aufs so I went back to ufs.
-
I'm using ufs.