2012/10/28 Mark <[email protected]>

> I notice that eveytime I make changes on my settings in Proxy Server, it
> takes time (almost 5-10 mins.) before it stop from loading. I don't know if
> it take effect immediately or what but what makes me concern is that it
> loads so slow. I don't have this issue before. Cache dir is only 129MB.
> Memory is 4GB. Here is the info of the disk I found in dmesg
>
> *Hard Disk Info*
>
> pass1 at mpt0 bus 1 scbus1 target 0 lun 0
> pass1: <ATA WDC WD1600YS-23S 6C04> Fixed Uninstalled SCSI-5 device
> pass1: 300.000MB/s transfers
> pass1: Command Queueing enabled
> da0 at mpt0 bus 0 scbus0 target 0 lun 0
> da0: <LSILOGIC Logical Volume 3000> Fixed Direct Access SCSI-2 device
> da0: 300.000MB/s transfers
> da0: Command Queueing enabled
> da0: 151634MB (310546432 512 byte sectors: 255H 63S/T 19330C)
>
> *Kernel Version*
>
> [2.0.2-RC3][[email protected] ]/var/squid(9): uname -a
> FreeBSD practicum.com  8.1-RELEASE-p12 FreeBSD 8.1-RELEASE-p12 #1: Sat
> Jul 21 10:01:45 EDT 2012
> root@FreeBSD_8_1.pfSense_2_0.i386.snaps.pfsense.org:/usr/obj./usr/pfSensesrc/src/sys/pfSense_SMP.8
> i386
>
> Is this normal on squid? Should I worry about this?
>
> TIA,
>
>
> Mark
>
>
>
anything suspect to find in the squid logs?

have you tried to delete and rebuild/recreate the cache dirs?
if i experienced such issues it was mostly caused by incomplete/defective
 files in cache.

Some changes of the parameters make it neccessary to recreate your cache
dirs.

http://doc.pfsense.org/index.php/Squid_Package_Tuning

please also take a look at http://forum.pfsense.org/index.php?topic=54546.0

the mentioned bonnie benchmarks are only interesting on random read/write
in regard to squid ;-)
as you can see there the latency of random seeks ( up to 3 seconds :O ) is
a bit umh , thats the point.
Squid does random access.

UFS + softupdates can make a difference.
Rising up the kernels dircache too, but as i understand not in your case,
128MB squid cache-dir is not much.

another point can be to rise up the minimum caching object size.
caching serval bytes ( up to the blocksize of your FS/Disk) can be much
more stress than load them from new.
depends on your cache policy and the update intervals for cached objects.

m.


-- 
= = =  http://michael-schuh.net/  = = =
Projektmanagement - IT-Consulting - Professional Services IT
Michael Schuh
Postfach 10 21 52
66021 Saarbrücken
phone: 0681/8319664
@: m i c h a e l . s c h u h @ g m a i l . c o m

= = =  Ust-ID:  DE251072318  = = =
_______________________________________________
List mailing list
[email protected]
http://lists.pfsense.org/mailman/listinfo/list

Reply via email to