Re: [squid-users] squid cpu usage ..high??

From: Joe Cooper <joe@dont-contact.us>
Date: Thu, 13 Sep 2001 16:03:03 -0500

Am I misremembering that the configure options you posted a week or two
back included 'time-hack'? If you are still running a Squid with
time-hack, recompile without it--it is a hack that does not work as
expected on any platform I know of and leads to severe CPU overusage.

khiz code wrote:

> hi all
> i am using squid 2.4 S1 with async-io =40 threads
> my cpu usage is pretty high considering the current load
> client_http.requests = 27.130222/sec
> client_http.hits = 9.784833/sec
> unlink.requests = 0.000000/sec
> page_faults = 0.000000/sec
> select_loops = 487.786278/sec
> select_fds = 308.131472/sec
> cpu_time = 215.500000 seconds
> wall_time = 303.020004 seconds
> cpu_usage = 71.117417%
> ---vmstat
>
> 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 0 2624 188520 7204 0 0 1 4 59 91 8 18
> 74
> 1 0 0 0 2436 188676 77236 0 0 5 52 858 340 10 21
> 70
> 0 0 0 0 2220 188872 77252 0 0 3 0 869 270 14 23
> 63
> 1 0 0 0 3024 188604 76744 0 0 3 0 889 314 11 26
> 63
> 0 0 0 0 2908 188696 76744 0 0 0 64 805 259 13 21
> 67
> 1 0 0 0 2848 188752 76764 0 0 3 0 848 311 12 25
> 64
> 0 0 0 0 2672 188932 76760 0 0 0 43 979 318 14 25
> 61
> 1 0 0 0 2364 189236 76764 0 0 3 15 923 139 18 32
> 51
> 0 0 0 0 2108 189440 76800 0 0 7 85 929 355 11 23
> 66
> 0 0 0 0 2564 189012 76572 0 0 7 0 971 425 14 22
> 65
>
> syn received = 20
>
> this is a dual cpu p3 550 mhs /512 mb ram/6 *9gb ultra 2 scsi 10000
> rpm
>
> something amiss somewhere

                                   --
                      Joe Cooper <joe@swelltech.com>
                  Affordable Web Caching Proxy Appliances
                         http://www.swelltech.com
Received on Thu Sep 13 2001 - 14:57:42 MDT

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