RE: [squid-users] almost 100% CPU usage

From: Babar Kazmi <BabarKazmi@dont-contact.us>
Date: Sat, 17 Apr 2004 10:51:05 +0500

Hello Marco

Ummm ... that much computer usage is too odd.
try doing "squid -k debug" it will show you what cache.log is working on
....

Regards

Babar

>Hello all,
> I'm new to squid and I'm trying to configure and use this proxy server.
>I'm working on a Debian 3.0 updated system on an Apple Mac PPC.
>
>My configuration file... I've copied the default squid.conf and removed all
>the commented things I do not have configured. This is the resulting file:
>
>cache_peer 10.0.0.5 sibling 6588 3130 default
>cache_peer 10.0.0.1 sibling 6588 3130 default
>hierarchy_stoplist cgi-bin ?
>acl QUERY urlpath_regex cgi-bin \?
>no_cache deny QUERY
>cache_mem 8 MB
>
>dns_nameservers 10.0.0.1 10.0.0.5 10.0.0.7 212.17.192.216 212.17.192.56
>151.98.125.2 151.98.125.3 217.141.85.131 212.41.208.6
>
>acl all src 0.0.0.0/255.255.255.255
>acl ddmedia src 10.0.0.0/255.255.255.0
>acl ingresso myport 3128
>acl localhost src 127.0.0.1/255.255.255.255
>acl localhost src 10.0.0.7/255.255.255.255
>acl porte port 80 21 22 25 110 443 563
>acl manager proto cache_object
>acl SSL_ports port 443 563 # ssl
>acl Safe_ports port 80 # http
>acl Safe_ports port 21 # ftp
>acl Safe_ports port 443 563 # https, snews
>acl Safe_ports port 25 110 # smtp, pop
>acl Safe_ports port 1755 # windows media
>acl Safe_porte port 22 # ssh
>acl Safe_ports port 554 # audio video
>acl Safe_ports port 1080 # socks
>acl Safe_ports port 1863 # msn messenger
>acl Safe_ports port 5190 # icq
>acl Safe_ports port 7070 # audio video
>acl Safe_ports port 123 # ntp
>acl purge method PURGE
>acl CONNECT method CONNECT
>http_access allow ddmedia localhost
>http_access allow manager localhost
>http_access deny manager
>http_access allow purge localhost
>http_access deny purge
>http_access deny !Safe_ports
>http_access deny CONNECT !SSL_ports
>http_access deny all
>icp_access allow ddmedia
>miss_access allow ddmedia
>miss_access deny !ddmedia
>forwarded_for off
>anonymize_headers deny Link WWW-Authenticate
>fake_user_agent ELinks 0.4pre5
>error_directory /usr/lib/squid/errors/Italian
>
>It happens that, as soon as I make a request that is not available through
>the cached things, the squid process goes to about 97-98 CPU percentage.
>I've tried to touch the /dev/null file as described in the 11.46 FAQ
>section but it doesn't work.
>Is there someone who can help me in solving this problem?
>
>Thank you,
>
>Marco Bresciani
>
>--
>(o> Utente SETI@Home da 3,752 anni (2479 unità)
>//\ Tempo CPU: 2,404 anni (8h 29min 40,1s medio)
>V_/_ Posizione: 103733/4958667 (97,907%)
Received on Fri Apr 16 2004 - 23:53:29 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Apr 30 2004 - 12:00:02 MDT