[squid-users] squid problem

From: Adrian Voinea <adi@dont-contact.us>
Date: Sun, 8 Apr 2001 20:14:30 +0300

Hello,
I have a *big* problem with squid.
On my system squid eats up all of my cpu:
kki:/usr/local/squid# ps awxuf|grep squid
root 1210 0.0 0.7 3320 924 ? S 16:25 0:00 ./bin/squid
squid 1211 0.7 3.5 6260 4460 ? S 16:25 0:02 \_ (squid)
squid 1212 98.4 0.8 3516 1072 ? R 16:25 6:19 \_(squid)
It's always like that and after 1-2 hours from starting it locks up, it
still allows connections but it stops serving proxy requests.
Nothing strange appears in the log files.
I have this problem on all squid versions I tried(2.2, 2.3, 2.4), compiled
without any extra ./configure flags.
Does anybody have any idea what is causing this?
I am attaching my system info.
Thanks,
Adrian Voinea

------------
System info
------------
kiki:/usr/local/squid# uname -a
Linux kiki 2.4.2 #13 Fri Mar 23 18:30:27 EET 2001 i586 unknown

kiki:/usr/local/squid# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 5
model : 4
model name : Pentium MMX
stepping : 3
cpu MHz : 233.032
fdiv_bug : no
hlt_bug : no
f00f_bug : yes
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr mce cx8 mmx
bogomips : 465.30

kiki:/usr/local/squid# cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 130383872 116719616 13664256 0 19615744 51269632
Swap: 67104768 24576 67080192
MemTotal: 127328 kB
MemFree: 13344 kB
MemShared: 0 kB
Buffers: 19156 kB
Cached: 50068 kB
Active: 29044 kB
Inact_dirty: 35656 kB
Inact_clean: 4524 kB
Inact_target: 164 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 127328 kB
LowFree: 13344 kB
SwapTotal: 65532 kB
SwapFree: 65508 kB

----------
what I did:
----------
kiki:/usr/local/squid/etc# cd /usr/local/squid/bin
kiki:/usr/local/squid/bin# rm -rf cache
kiki:/usr/local/squid/bin# cd ..
kiki:/usr/local/squid# rm -rf cache
kiki:/usr/local/squid# ./bin/squid -v
Squid Cache: Version 2.3.STABLE4
kiki:/usr/local/squid# ./bin/squid -z
2001/04/08 16:25:02| Creating Swap Directories
kiki:/usr/local/squid# ./bin/squid &

--------------------
This is my config file:
--------------------
log_fqdn off
ftp_user billg@microsoft.com
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern . 0 20% 4320
acl all src 0.0.0.0/0.0.0.0
acl gds.ro src 193.230.152.0/255.255.255.224
acl tds src 193.230.152.64/255.255.255.224
acl bigfiles urlpath_regex \.mp3$ \.mov$ \.mpg$ \.vqf$ \.avi$ \.zip$ \.exe$
\.tar.gz$ \.tgz$
acl worktime time 16:00-23:00
acl badDomains dstdomain undernet.org
acl badIPs dst 194.119.238.162 195.225.3.23 207.114.4.45
acl adiadi src 193.230.152.19/255.255.255.255
acl bimbo src 193.230.152.3/255.255.255.255
acl ina src 193.230.152.12/255.255.255.255
acl cristina src 193.230.152.5/255.255.255.255
acl optic src 193.230.152.10/255.255.255.255
acl gutu src 193.230.152.4/255.255.255.255
acl gina src 193.230.152.8/255.255.255.255
acl azorique src 193.230.152.11/255.255.255.255
acl john src 193.230.152.14/255.255.255.255
acl tds src 193.230.152.65/255.255.255.255
acl red1 src 193.230.152.21/255.255.255.255
acl red2 src 193.230.152.22/255.255.255.255
acl red3 src 193.230.152.23/255.255.255.255
acl red4 src 193.230.152.24/255.255.255.255
acl red5 src 193.230.152.25/255.255.255.255
acl red6 src 193.230.152.26/255.255.255.255
acl red7 src 193.230.152.27/255.255.255.255
acl red8 src 193.230.152.28/255.255.255.255
acl red9 src 193.230.152.13/255.255.255.255
acl red10 src 193.230.152.30/255.255.255.255
acl red11 src 193.230.152.16/255.255.255.255
acl watcher src 193.230.152.9/255.255.255.255
http_access allow adiadi
http_access allow bimbo
http_access allow cristina
http_access allow ina
http_access allow optic
http_access allow gutu
http_access deny all
icp_access allow all
miss_access allow all
cache_effective_user squid
cache_effective_group nogroup
Received on Sun Apr 08 2001 - 11:14:40 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:12 MST