|
<- Previous Message | Next Message -> Thread Index [isp-caching] Re: unusually high cpu load with squid
hmmm I will suggest better to compile squid source instead using Debian package ............I have tested squid on FreeBSD, Solaris, RedHat Linux, Man..ake Linux .....I did not find any problem regarding cpu. If you are using debian compile pacakge on diffirent os ......that can be cause of the problem :) Best Regds, Masood Ahmad Shah Nexlinx http://nexlinx.net.pk ----- Original Message ----- From: "Timur Irmatov" <thor@....sarkor.uz> To: <isp-caching@isp-caching.com> Cc: <isp-caching@isp-caching.com> Sent: Tuesday, March 23, 2004 5:20 PM Subject: [isp-caching] Re: unusually high cpu load with squid > > My squid is 2.4.6-2, installed from Debian package. CPU usage is not > related to number of objects in cache, I tried to start squid with > empty cache, it still eats about 70% of CPU with 2Mbit/s of > traffic. My cache size is 10Gigs, but I tried 2, 4, 8Gb, same > result. There are no unusual errors in squid log files... > > I tried to compile squid from sources, problem persists. > > On Fri, Mar 19, 2004 at 11:10:26PM +0500, Masood Ahmad Shah wrote: > > ohh my dear there is nothing to wrong with squid we people are using since > > last 5 years @ FreeBSD, Solaris, Linux. > > There can be couple of reason via your cpu can reach to top. > > you have too many objects in your cache, when u reboot or restart cache > > it's trying to load object. > > your cache size? > > have u checked log files, cache dir size etccc. > > > > which squid version you are using? > > > > > > > > I'm running squid pool on ext3 filesystem, but this does not seem to > > > be the cause of the problem. I tried ext2 with same result. I have > > > even tried to install FreeBSD 4.9 on this machine. No luck. Squid > > > consumes a lot of cpu on both systems - Linux & BSD. > > > > > > > On Tue, Mar 16, 2004 at 11:55:49PM +0500, Masood Ahmad Shah wrote: > > > > > have u checked ur system via > > > > > > > > > > vmstat > > > > > ps auwx > > > > > top > > > > > > > > > > regarding which process taking too much load. u did not show us ur > > complete > > > > > conf for squid. let us know > > > > > > > > > > cache_mem > > > > > cache_dir > > > > > > > > > > which file system you using? > > > > > you system load up due to squid or attacks ? > > > > > > > > > > > > > Look: > > > > vmstat 1 > > > > procs memory swap io system > > cpu > > > > r b w swpd free buff cache si so bi bo in cs us > > sy id > > > > 1 0 0 31204 13272 160936 238068 0 0 37 67 25 60 9 > > 28 64 > > > > 2 0 0 31204 13128 160944 238204 0 0 76 0 1280 93 12 > > 32 55 > > > > 1 0 0 31204 12920 160952 238404 0 0 68 0 1241 96 17 > > 29 54 > > > > 1 0 0 31204 12740 160952 238556 0 0 40 0 1149 102 9 > > 35 56 > > > > > > > > ps auxw > > > > USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND > > > > proxy 229 69.7 42.9 453660 444484 ? D Mar15 1984:02 > > (squid) -D -sYC > > > > > > > > cache_mem 256 MB > > > > cache_dir ufs /var/spool/squid 10240 16 256 > > > > > > > > Top also show that the only process that eats cpu is squid - 80% of > > > > cpu with traffic abount 2.5Mbit/s and 60 requests/sec. > > > > > > > > Sincerely yours, > > > > Timur Irmatov. > > > > > > To unsubscribe via postal mail, please contact us at: > Jupitermedia Corp. > Attn: Discussion List Management > 475 Park Avenue South > New York, NY 10016 > > Please include the email address which you have been contacted with. > To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
Thread Index |