Re: [squid-users] Very high CPU load

From: Masood Ahmad Shah <masood@dont-contact.us>
Date: Wed, 2 Jul 2003 12:25:33 +0500

check you cache.log. problem can be in cache rebuilding.
if you squid process still used 99% CPU then you must C something in
cache.log and I'm sure it will be cache rebuilding dir that's y it's taking
time. it's depend on size of cache and mem + processor that how they can
rebuild cache fast..

-- 
Best Regs,
Masood Ahmad Shah
System Administrator
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
|   * * * * * * * * * * * * * * * * * * * * * * * *
|   Fibre Net (Pvt) Ltd. Lahore, Pakistan
|   Tel: +92-42-6677024
|   Mobile: +92-300-4277367
|   http://www.fibre.net.pk
|   * * * * * * * * * * * * * * * * * * * * * * * *
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
"All I want is a few minutes alone with the source code for the universe and
a quick recompile."
----- Original Message ----- 
From: "Sessler, Enrico" <Enrico.Sessler@sca.com>
To: <squid-users@squid-cache.org>
Sent: Wednesday, July 02, 2003 12:12 PM
Subject: [squid-users] Very high CPU load
| Hello,
|
| for a few days I have a strange problem with
| squid running under FreeBSD. Although the proxy
| is almost not used squid runs all the time with
| 99% CPU utilization.
|
| Have already rebuilt the complete cache dir and
| installed the latest version (2.5STABLE3) nothing
| changed the situation (rolled back to 2.5STABLE2 again).
|
| Below some information about the system and software.
|
| Did anybody have the same phenomenon or has an idea
| what can be the resaon (or better) the soluion?
|
|
| ##### squid version  #############
| Squid Cache: Version 2.5.STABLE2
| configure options:  --bindir=/usr/local/sbin
| --sysconfdir=/usr/local/etc/squid --datadir=/usr/local/etc/squid/
| --localstatedir=/usr/local/squid '--enable-storeio=ufs diskd null'
| '--enable-removal-policies=lru heap' --enable-auth=basic
| --enable-basic-auth-helpers=SMB '--enable-external-acl-helpers=ip_user
| unix_group' --enable-underscores --prefix=/usr/local
i386-portbld-freebsd4.8
|
|
| ###### squid.conf ################
| http_port 8080 8081 8082 8083 8084
| icp_port 5150
|
| acl all src 0.0.0.0
|
| http_access allow all
|
| hierarchy_stoplist cgi-bin ?
|
| forwarded_for off
| ##################################
|
| ####### dmesg.boot  ##############
| Copyright (c) 1992-2003 The FreeBSD Project.
| Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
|         The Regents of the University of California. All rights reserved.
| FreeBSD 4.8-STABLE #1: Sun Apr 13 15:48:20 GMT 2003
|     root@blanco.sgn.sca.se:/usr/obj/usr/src/sys/KAYAK
| Timecounter "i8254"  frequency 1193182 Hz
| CPU: Pentium II/Pentium II Xeon/Celeron (349.13-MHz 686-class CPU)
|   Origin = "GenuineIntel"  Id = 0x652  Stepping = 2
|
|
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,
| PAT,PSE36,MMX,FXSR>
| real memory  = 201261056 (196544K bytes)
| avail memory = 192548864 (188036K bytes)
| Preloaded elf kernel "kernel" at 0xc033e000.
| Pentium Pro MTRR support enabled
| md0: Malloc disk
| Using $PIR table, 8 entries at 0xc00fdf40
| npx0: <math processor> on motherboard
| npx0: INT 16 interface
| pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
| pci0: <PCI bus> on pcib0
| pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
| pci1: <PCI bus> on pcib1
| pci1: <Matrox MGA G200 AGP graphics accelerator> at 0.0 irq 9
| isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
| isa0: <ISA bus> on isab0
| atapci0: <Intel PIIX4 ATA33 controller> port 0xfcd0-0xfcdf at device 7.1
on
| pci0
| ata0: at 0x1f0 irq 14 on atapci0
| ata1: at 0x170 irq 15 on atapci0
| pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 7.2 irq 11
| chip1: <Intel 82371AB Power management controller> port 0x8800-0x880f at
| device 7.3 on pci0
| fxp0: <Intel 82557/8/9 EtherExpress Pro/100(B) Ethernet> port
0xfc40-0xfc7f
| mem 0xfede0000-0xfedfffff,0xfeddf000-0xfeddffff irq 11 at device 17.0 on
pc
| i0
| fxp0: Ethernet address 00:02:b3:4b:2e:0e
| inphy0: <i82555 10/100 media interface> on miibus0
| inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
| fxp1: <Intel 82557/8/9 EtherExpress Pro/100(B) Ethernet> port
0xfc00-0xfc3f
| mem 0xfeda0000-0xfedbffff,0xfedde000-0xfeddefff irq 12 at device 19.0 on
pc
| i0
| fxp1: Ethernet address 00:02:b3:4b:42:98
| inphy1: <i82555 10/100 media interface> on miibus1
| inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
| orm0: <Option ROMs> at iomem
0xc0000-0xc7fff,0xc8000-0xc97ff,0xc9800-0xcafff
| on isa0
| fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
| fdc0: FIFO enabled, 8 bytes threshold
| fd0: <1440-KB 3.5" drive> on fdc0 drive 0
| atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
| atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
| kbd0 at atkbd0
| vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
| sc0: <System console> at flags 0x100 on isa0
| sc0: VGA <16 virtual consoles, flags=0x300>
| sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
| sio0: type 16550A
| sio1 at port 0x2f8-0x2ff irq 3 on isa0
| sio1: type 16550A
| ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
| ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
| ppc0: FIFO with 16/16/8 bytes threshold
| unknown: <IDE CDROM DISABLED> can't assign resources
| ata1-slave: ATAPI identify retries exceeded
| ad0: 4104MB <QUANTUM FIREBALL EX4.3A> [8895/15/63] at ata0-master UDMA33
| acd0: CDROM <CD-532E-B> at ata1-master PIO4
| Mounting root from ufs:/dev/ad0s1a
| ######## end of demsg.boot  ######################
|
| ######## netstat -m ###########
| 158/896/4096 mbufs in use (current/peak/max):
|         155 mbufs allocated to data
|         3 mbufs allocated to packet headers
| 149/764/1024 mbuf clusters in use (current/peak/max)
| 1752 Kbytes allocated to network (57% of mb_map in use)
| 0 requests for memory denied
| 0 requests for memory delayed
| 0 calls to protocol drain routines
| ###############################
|
|
| Mit freundlichen Grüssen / Best regards
|
|  Enrico Sessler
|
|  SGN - SCA Global Network
|
|  Tel.:   +49 (0) 8035 80-611
|  Mobile: +49 (0) 172 86 59 723
|  Fax:    +49 (0) 8035 80-610
|  mailto:Enrico.Sessler@sca.com
|
|
Received on Wed Jul 02 2003 - 01:26:13 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:48 MST