[squid-users] Re: Squid performance problem.

From: dwi amk <[email protected]>
Date: Tue, 07 Oct 2003 12:37:41 +0700

you must acl first :)
here is an example from mine:
acl unlimited url_regex -i 192.168
acl limited url_regex -i ftp .exe .mp3 .vqf .tar.gz .gz .rpm .zip .rar .avi
.mpeg .mpe .mpg .qt .ram .rm .iso .raw .wav ##must be one line n add it
whatever extension u want or #an regex expression for "*" find it.
delay_pools 2
delay_class 1 2
delay_parameters 1 -1/-1 -1/-1
delay_access 1 allow unlimited
delay_class 2 2
delay_parameters 2 50000/50000000 5000/50000000 ##this where u set bandwidth
##50000/50000000 for entire network
##5000/50000000 for individual who reached the limit
##so for ur network set it like this
##delay_parameters 2 3000/1 3000/1 ## whoever reached 1 byte he'll be
##delayed
delay_access 2 allow limited

cheers!

ads squid writes:

> Hi,
> I am running squid-2.5.STABLE4 on Linux 8.0 box.
> Server is Intel P4, 256 DDR, 40 GB IDE Hard drive.
> Everything works fine in initial stages. No error in
> cache.log file. No problem with access.log file.
> Cache works fine.
> Facing two problem. Don't know what is the cause.
>
> 1) As cache size increases (About 100 MB) Internet
> access speed slows down.
> 2) Also I am using only delay pool to limit bandwidth
> of IP in acl "STOP" during "day" time to 3 Kbps as
> follows :
>
> acl STOP src 192.168.0.10 192.168.0.25 192.168.0.176
> acl day time 09:00-22:30
>
> delay_pools 1
> delay_class 1 1
> delay_access 1 allow STOP day
> delay_parameters 1 3000/3000
>
> After "squid -k reconfigure" no error.
>
> This could not restrict bandwidth to 3 Kbps.
> Attaching squid.conf and cache.log file for reference.
>
> help appreciatd.
>
>
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com
 

.::DAMK::.
Received on Mon Oct 06 2003 - 23:38:00 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:20:25 MST