[squid-users] almost 100% CPU usage

This is a discussion on [squid-users] almost 100% CPU usage within the Squid Users forums, part of the Web Server and Related Forums category; Hello all, I'm new to squid and I'm trying to configure and use this proxy server. I'm ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-16-2004
Marco Bresciani
 
Posts: n/a
Default [squid-users] almost 100% CPU usage

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%)
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:04 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0