LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-08-2003, 08:05 AM   #1
cash_05
LQ Newbie
 
Registered: Sep 2003
Posts: 12

Rep: Reputation: 0
Question Help! very high CPU load by squid


Recently our linux box which running squid as proxy having very high load from squid. I've read some post here and in squid archive, but still dont get the answer. I hope someone here can help me on this problem.

Server spec:
Pentium 2 346MHz
512MB RAM
IDE 40GB HH

Squid configuration:
cache_dir ufs /var/spool/squid 1000 16 256
cache_mem 32 MB

result from top:
load average: 1.74, 1.85, 1.78

39 processes: 36 sleeping, 3 running, 0 zombie, 0 stopped

CPU states: 17.6% user 80.0% system 0.0% nice 0.0% iowait 2.3% idle

Mem: 513868k av, 495596k used, 18272k free, 0k shrd, 63572k buff 259792k actv, 76868k in_d, 4192k in_c

Swap: 1044176k av, 0k used, 1044176k free 295760k cached

PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
1752 squid 25 0 62972 61M 1760 R 93.7 12.2 71:37 0 squid

result from vmstat:
procs memory swap io system cpu
r b w swpd free buff cache si so bi bo in cs us sy id
0 0 1 44 26352 64368 289840 0 0 29 127 3248 116 16 69 15
1 0 0 44 26352 64372 289948 0 0 13 83 3611 57 19 79 2
1 0 0 44 26352 64380 290020 0 0 3 112 3788 49 13 85 2
1 0 1 44 26352 64384 290136 0 0 16 0 3695 55 19 77 4
1 0 1 44 26352 64388 290196 0 0 4 124 3935 40 11 89 0
0 1 1 44 26352 64392 290276 0 0 7 267 3821 47 21 76 4
1 0 1 44 26352 64392 290352 0 0 0 1 3671 49 15 84 2
1 0 1 44 26352 64400 290396 0 0 1 128 3834 41 16 83 0
1 0 1 44 26352 64404 290476 0 0 7 0 3788 46 20 77 2
1 0 1 44 26352 64408 290536 0 0 3 145 3978 52 11 88 1
1 0 1 44 26352 64408 290584 0 0 1 160 3759 57 21 78 1
1 0 1 44 26352 64408 290628 0 0 0 0 3582 42 20 79 1
1 0 1 44 26352 64408 290580 0 0 4 117 3607 64 19 80 1

Anyone got any idea what go wrong? And how to solve it plz. Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
X Process: Occasional High CPU Load Fahrion Linux - Software 6 07-16-2005 07:47 PM
dm-crypt and high cpu load(pdflush) tazdevil77 Slackware 2 12-25-2004 03:03 PM
High load - but CPU 99% idle? Boss Hoss Linux - Hardware 6 05-24-2004 05:39 AM
High idle cpu load in 2.6.4? geekzen Linux - General 4 04-10-2004 12:54 PM
Why am I getting ?high? CPU load? pnh73 Linux - General 15 10-21-2003 11:36 AM


All times are GMT -5. The time now is 01:02 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration