[squid-users] Squid performance problem.

From: ads squid <adssquid@dont-contact.us>
Date: Mon, 6 Oct 2003 22:12:55 -0700 (PDT)

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

2003/10/06 22:45:57| Starting Squid Cache version 2.5.STABLE4 for i686-pc-linux-gnu...
2003/10/06 22:45:57| Process ID 27143
2003/10/06 22:45:57| With 1024 file descriptors available
2003/10/06 22:45:57| Performing DNS Tests...
2003/10/06 22:45:57| Successful DNS name lookup tests...
2003/10/06 22:45:57| DNS Socket created at 0.0.0.0, port 33258, FD 4
2003/10/06 22:45:57| Adding nameserver 202.63.164.17 from /etc/resolv.conf
2003/10/06 22:45:57| Adding nameserver 202.63.164.18 from /etc/resolv.conf
2003/10/07 10:15:36| Starting Squid Cache version 2.5.STABLE4 for i686-pc-linux-gnu...
2003/10/07 10:15:36| Process ID 27554
2003/10/07 10:15:36| With 1024 file descriptors available
2003/10/07 10:15:36| Performing DNS Tests...
2003/10/07 10:15:36| Successful DNS name lookup tests...
2003/10/07 10:15:36| DNS Socket created at 0.0.0.0, port 33262, FD 4
2003/10/07 10:15:36| Adding nameserver 202.63.164.17 from /etc/resolv.conf
2003/10/07 10:15:36| Adding nameserver 202.63.164.18 from /etc/resolv.conf

http_port 3128
icp_port 3130

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

cache_mem 128 MB
cache_dir ufs /cache 5000 16 256

cache_log /var/log/squid/cache.log
cache_access_log /var/log/squid/access.log
cache_store_log /var/log/squid/store.log
cache_swap_log /var/log/squid/swap.log

logfile_rotate 10

redirect_rewrites_host_header off
cache_replacement_policy GDSF

acl STOP src 192.168.0.10 192.168.0.25 192.168.0.176
acl day time 09:00-22:30

acl localnet src 192.168.0.0/255.255.255.0
acl localhost src 127.0.0.1/255.255.255.255
acl Safe_ports port 80 443 210 119 70 20 21 1025-65535
acl CONNECT method CONNECT
acl all src 0.0.0.0/0.0.0.0
http_access allow localnet
http_access allow localhost
http_access deny !Safe_ports
http_access deny CONNECT
http_access deny all
maximum_object_size 3000 KB
store_avg_object_size 50 KB

httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

visible_hostname shastrihall

cache_mgr your@email
cachemgr_passwd secret_password all

cache_effective_user adssquid
cache_effective_group adssquid

log_icp_queries off
buffered_logs on

delay_pools 1
delay_class 1 1
delay_access 1 allow STOP day
delay_parameters 1 3000/3000 # 512 kbits == 64 kbytes per second
Received on Mon Oct 06 2003 - 23:12:57 MDT

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