Re: [squid-users] High CPU usage problem on Squid 2.6 STABLE9

From: Robert <[email protected]>
Date: Tue, 30 Jan 2007 16:46:49 +0100

When top shows cpu usage between 70-99% command vmstat 5 shows:

procs -----------memory---------- ---swap-- -----io---- --system--
----cpu----
 r b swpd free buff cache si so bi bo in cs us sy
id wa
 3 0 2572 52232 200152 274692 0 0 3 3 1 0 2 13
81 4
 1 0 2572 52888 199716 272884 0 0 50 698 9068 525 5 20
63 12
 1 0 2572 52336 199772 273576 0 0 50 434 9128 485 7 19
69 5
 3 2 2572 54184 198624 270916 0 0 112 1011 7001 808 15 25
49 10
 1 1 2572 58048 198848 272732 0 0 166 232 7558 884 9 24
55 12
 1 0 2572 56588 198888 273304 0 0 45 1242 9288 544 5 19
68 9
 1 0 2572 55568 199044 274576 0 0 167 634 7487 831 8 25
56 11
 1 0 2572 54032 199168 275744 0 0 104 1072 8195 895 6 24
55 16
 1 0 2572 52148 199288 277256 0 0 84 805 8081 753 7 24
57 12
 1 0 2572 52068 199084 275692 0 0 105 1138 8166 890 6 24
58 13
 1 0 2572 52480 199032 272548 0 0 22 529 9144 562 4 22
69 5
 1 1 2572 54472 199080 271208 0 0 66 465 7343 806 9 25
58 7
 3 0 2572 52652 199172 272340 0 0 70 463 8120 631 9 24
59 8
 1 0 2572 52540 199316 271856 0 0 78 856 8125 755 6 25
56 13
 2 0 2572 52948 198744 270388 0 0 46 678 9202 506 2 23
70 5
 1 1 2572 52472 198788 270888 0 0 26 818 9274 535 2 23
66 9
 3 0 2572 52540 198888 271264 0 0 62 646 8094 597 9 24
61 6
 0 2 2572 54552 198140 270720 0 0 122 1262 6174 1141 11 28
42 19
 3 1 2572 54160 197636 268572 0 0 111 90 8258 800 5 26
59 10
 1 0 2572 51808 197740 269692 0 0 37 1314 7916 936 6 25
51 18
 1 0 2572 53616 197112 267260 0 0 14 1075 9456 499 4 22
67 8
 1 0 2572 59748 197276 267844 0 0 94 838 8461 440 8 22
61 10
 1 0 2572 59284 197352 268040 0 0 26 612 9099 467 7 19
71 4
 1 0 2572 59168 197456 268548 0 0 32 676 8672 536 7 21
65 7
 1 1 2572 58048 197544 269072 0 0 36 637 8985 465 7 19
70 5
 1 1 2572 59060 197664 270516 0 0 155 227 7027 783 15 25
52 8
 1 0 2572 56544 197760 271372 0 0 61 461 8933 489 7 19
67 7
 1 0 2572 53568 197816 272132 0 0 25 651 9120 458 6 20
70 4
 1 0 2572 51508 197884 272540 0 0 51 626 9041 557 7 19
69 5
 1 0 2572 52144 198008 271328 0 0 22 754 9055 717 6 19
69 6
 1 0 2572 51112 198088 271588 0 0 61 653 9170 495 7 19
67 7
 2 1 2572 55004 198132 269844 0 0 165 593 6276 955 16 27
43 14
 1 0 2572 57088 198220 270436 0 0 65 544 7785 544 9 23
60 9
 1 1 2572 55604 198264 271344 0 0 69 476 8552 603 6 22
67 5
 1 2 2572 54268 198340 272560 0 0 86 388 8723 540 6 21
69 4
 1 0 2572 51936 198360 272880 0 0 22 338 9220 473 5 20
68 6
 1 0 2572 55432 197760 270556 0 0 32 341 9046 454 5 22
70 4
 1 0 2572 55048 197848 271216 0 0 34 520 9151 397 4 21
69 6
 1 0 2572 54148 197908 271632 0 0 54 461 9075 480 4 21
67 7
 1 0 2572 52904 197996 271884 0 0 51 378 9049 422 4 21
71 4
 1 0 2572 52648 198084 272136 0 0 96 505 8308 567 7 24
60 9
 2 0 2572 53952 198136 272900 0 0 57 510 8533 503 6 24
63 7

top:
  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
31333 squid 18 0 931m 929m 2280 R 93.4 45.8 629:37.67 squid

top -U squid:
  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
31333 squid 18 0 932m 929m 2280 R 93.0 45.9 631:54.86 squid
31335 squid 15 0 2124 764 652 S 1.0 0.0 6:29.93 diskd-daemon
31336 squid 15 0 2128 764 652 S 0.7 0.0 6:25.22 diskd-daemon
31337 squid 15 0 2124 756 648 S 0.3 0.0 6:30.15 diskd-daemon
31334 squid 18 0 1404 280 224 S 0.0 0.0 0:00.22 unlinkd

cpu load is visible on browsing sites (latency),

Regards
Robert
Received on Tue Jan 30 2007 - 08:47:06 MST

This archive was generated by hypermail pre-2.1.9 : Thu Feb 01 2007 - 12:00:01 MST