[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

unusually high cpu usage by squid


I'm running squid as transparent proxy server for dial-up users.
Everything seems to be ok except CPU load.  With 1.5 Mbit/s (35 requests
per second) traffic through proxy, squid consumes about 50-60% of cpu
(40-45% is system time).  And with a load of 3-3.5 Mbit/s processor load
comes to 90%.

The server is single-processor Xeon 2.66 Mhz, 1Gb RAM, 36.6 Gb SCSI
disks on AIC7902 controllers.  OS is Debian Linux 3.0, kernel 2.4.24.

Users are redirected to proxy by this command:

iptables -t nat -I PREROUTING -s NETWORK -i eth0 -p tcp --dport 80 \
        -j REDIRECT --to-ports 3128

Any advices will be greatly appreciated!!


Reply to: