[squid-users] so slow: part 3

From: Maciej Wosko <[email protected]>
Date: Sun, 30 Nov 2003 19:03:16 +0100

Hello everyone,
Im totaly disappointed with Squid. I use it as proxy server for
http,https,ftp traffic.
The problem is with speed. I waiting about 20 seconds untill any
thing can be displayed on browser. There is no problem when I turn off
squid and set iptables to forward - then sites load in about 2-3
seconds. ( There is no problem with download - about 50 - 60 kbps )

Since last week I reinstalled it 3 times. Currently I use lates stable
version
Squid Cache: Version 2.5.STABLE4
with configure options:
 --prefix=/proxy/usr --exec-prefix=/proxy/usr --enable-delay-pools --enable-cache-digests --enable-poll --disable-ident-lookups --enable-truncate --enable-removal-policies --enable-err-language=Polish

and have still this same problem...

there is a cache.log:

2003/11/30 18:50:17| Starting Squid Cache version 2.5.STABLE4 for i686-pc-linux-gnu...
2003/11/30 18:50:17| Process ID 13212
2003/11/30 18:50:17| With 1024 file descriptors available
2003/11/30 18:50:17| Performing DNS Tests...
2003/11/30 18:50:17| Successful DNS name lookup tests...
2003/11/30 18:50:17| DNS Socket created at 0.0.0.0, port 32796, FD 4
2003/11/30 18:50:17| Adding nameserver 194.204.152.34 from /etc/resolv.conf
2003/11/30 18:50:17| Adding nameserver 217.98.63.164 from /etc/resolv.conf
2003/11/30 18:50:41| Starting Squid Cache version 2.5.STABLE4 for i686-pc-linux-gnu...
2003/11/30 18:50:41| Process ID 13223
2003/11/30 18:50:41| With 1024 file descriptors available
2003/11/30 18:50:41| Performing DNS Tests...
2003/11/30 18:50:41| Successful DNS name lookup tests...
2003/11/30 18:50:41| DNS Socket created at 0.0.0.0, port 32796, FD 4
2003/11/30 18:50:41| Adding nameserver 194.204.152.34 from /etc/resolv.conf
2003/11/30 18:50:41| Adding nameserver 217.98.63.164 from /etc/resolv.conf

...think there is no error :(

plz help me..i lost hope... i think i tryed everything

plz send me some manual to install "step by step" what to do... maybe im doing
some mistake during installation..i dont know. Maybe I have wrong config :(
---squid.conf---

http_port 3128
icp_port 0
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 16 MB
cache_dir ufs /proxy 200 16 256
redirect_rewrites_host_header off
cache_replacement_policy GDSF
acl localnet src 192.168.1.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 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 1200 KB
store_avg_object_size 50 kB
cache_mgr twoj@email
cachemgr_passwd tajne_haslo all
cache_effective_user squid
cache_effective_group squid
log_icp_queries off
buffered_logs on
( is this ok? can anyone give me example of squid.conf how should it
looks like ? )

Some details:

Squid is installed on PIII 700 Mhz, 256 MB RAM, HDD 20 Gb connected to
inet on eth0 ( aDSL 512) and local net is on eth1.

OS: Linux Slackware 8.1

There is only 1 partition and it is formatted as ext2 ( maybe this is
a reason ?).

Plz help, I have noe idea what can i do wrong... think i checked
everything.

-- 
Woebegone waitting for support from squid community.
Best regards,
                           mailto:mwosko@o2.pl
Received on Sun Nov 30 2003 - 10:56:46 MST

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