[squid-users] squid3.0.25 hoggeing the CPU, serving little

From: Ralf Hildebrandt <Ralf.Hildebrandt_at_charite.de>
Date: Wed, 11 Aug 2010 12:49:51 +0200

3.0.STABLE25 is showing the following behaviour during normal operation:

* 100% (almost CPU usage)
* rapid increase in memory usage
* Sudden increase in memory usage
* fewer ICP Packets
* rapid increase in service time
* rapid increase in DNS service time

See graphs here:
http://www.arschkrebs.de/bugs/squid.png

proxy 10426 88.5 17.3 380636 357040 ? R 10:42 110:54 /usr/sbin/squid3 -NsYC

% strace -c -p 10426

yields:

% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
 33.06 0.005491 0 24242 4 write
 16.10 0.002674 15 173 epoll_wait
 11.67 0.001938 0 23223 637 read
  6.76 0.001123 0 8977 msgsnd
  6.50 0.001080 0 23991 epoll_ctl
  6.06 0.001006 0 2782 close
  4.99 0.000829 0 5268 sendto
  4.70 0.000780 0 36472 27512 msgrcv
  3.56 0.000592 0 1689 1689 connect
  1.54 0.000256 0 11064 fcntl64
  1.44 0.000239 0 3080 142 recvfrom
  1.19 0.000197 0 1702 socket
  1.03 0.000171 0 1230 166 accept
  0.53 0.000088 0 1064 getsockname
  0.47 0.000078 0 1702 setsockopt
  0.40 0.000066 0 1702 bind
  0.00 0.000000 0 2 open
  0.00 0.000000 0 9 time
  0.00 0.000000 0 21 brk
  0.00 0.000000 0 4 getrusage
  0.00 0.000000 0 355 gettimeofday
  0.00 0.000000 0 2 munmap
  0.00 0.000000 0 2 _llseek
  0.00 0.000000 0 8 select
  0.00 0.000000 0 7 mmap2
  0.00 0.000000 0 21 stat64
  0.00 0.000000 0 1 fstat64
  0.00 0.000000 0 2 getdents64
  0.00 0.000000 0 1 statfs64
  0.00 0.000000 0 9 send
  0.00 0.000000 0 1684 getsockopt
------ ----------- ----------- --------- --------- ----------------
100.00 0.016608 150489 30150 total
           

-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  ralf.hildebrandt@charite.de | http://www.charite.de
	    
Received on Wed Aug 11 2010 - 10:50:02 MDT

This archive was generated by hypermail 2.2.0 : Wed Aug 11 2010 - 12:00:02 MDT