Re: [squid-users] Heavy LOAD on squid - system time

From: Michal Mihalik <michal.mihalik@dont-contact.us>
Date: Mon, 12 Sep 2005 11:52:47 +0200

Hi.
thanks. for realy quick answer.
One important information which is missing here. It is running in
Accelereation mode.
 
Denis Vlasenko wrote:

>On Monday 12 September 2005 12:16, Michal Mihalik wrote:
>
>
>>Hello.
>>I am new to this list and new to squid under heavy load...
>>my problem is that squid spends 70% of CPU time in system.
>>the number is from top. ( 27.9% user, 66.8% system) and squid is the
>>only thing running.
>>
>>
>
>You need to find out what exactly it is doing there.
>strace squid, use kernel profiling tools.
>
>
>
ok this part I never tried... it's propably time to try.... (no idea how
to use this tools, but there is allways a man page)
the bad thing if that I was hoping that it will just work. (nice clean
install)

>>it has open around 2100 descriptors.
>>it is handlig around 300req/sec
>>most of the stuff from memory. (the descriptors to disk are around 10)
>>
>>A big quietion is how much will help to move to 2.6.x kernel.
>>
>>
>
>It may even get worse... 2.6 had some regressions lately...
>But you may just install 2.6 and measure that.
>
>
Ok will start with this.... was hoping for info... beacause it will be
fight with debian ... it doesn't recognise perc raid in my dell servers.

>
>
>>and if the answer is 10%, the next question is I NEED MORE :-) how...
>>please.
>>I noticited some info about select/poll but I couldn find info how much
>>it changed in kernel 2.6.
>>I have a litle problem with the kernel2.6 kernel and DELL PERC but that
>>doesn't belog here.
>>I don't know how to get stats about the select/poll.
>>I did read the FAQ... etc.etc but you know... I could miss the answer.
>>I did not optimize -> /proc values, didn't find anything relevant
>>
>>
>
>[snip]
>
>
>
>>system SPEC 2x.
>>
>>
>
>I didn't understand this part.
>
>
>
I Have to boxes which I use as failover, And i can load balance them.

>> Debian stable. 2.4 kernel.
>> Squid Cache: Version 2.5.STABLE9
>> 1GB ram
>> 2x15rpm disk (6gb cache)
>> Intel(R) Xeon(TM) CPU 3.20GHz 1Mb cache
>> heartbeat,ntp,bind 2x100mbs
>>
>>
>
>what is "bind 2x100mbs" ?
>
>

this one is realy wrong it supposed tho give info about apps running...
to 2x100mbs shouln't be there, It's hardware spec. (one network card is
Internet other network card is the webserver)

>--
>vda
>
>
 mikee
Received on Mon Sep 12 2005 - 03:54:32 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Oct 01 2005 - 12:00:03 MDT