Re: Fwd: Active connections: 1000 и скорость падает
Stephan Miyalik
s0527705277 на gmail.com
Вс Ноя 6 19:31:29 UTC 2011
вот что выдало
PRC | sys 3.32s | user 0.46s | #proc 576 | #zombie 0 | #exit
0 |
CPU | sys 23% | user 6% | irq 48% | idle 498% | wait
24% |
cpu | sys 11% | user 2% | irq 50% | idle 28% | cpu000 w
9% |
cpu | sys 8% | user 4% | irq 0% | idle 77% | cpu001 w
10% |
cpu | sys 1% | user 0% | irq 0% | idle 99% | cpu004 w
0% |
cpu | sys 0% | user 0% | irq 0% | idle 100% | cpu005 w
0% |
cpu | sys 2% | user 0% | irq 0% | idle 94% | cpu002 w
4% |
cpu | sys 1% | user 0% | irq 0% | idle 99% | cpu003 w
1% |
CPL | avg1 0.42 | avg5 0.43 | avg15 0.45 | csw 24966 | intr
424067 |
MEM | tot 15.5G | free 84.8M | cache 11.8G | buff 0.0M | slab
2.7G |
SWP | tot 8.0G | free 8.0G | | vmcom 1.2G | vmlim
15.7G |
PAG | scan 75612 | stall 0 | | swin 0 | swout
0 |
DSK | sda | busy 33% | read 512 | write 3 | avio 6
ms |
DSK | sdb | busy 23% | read 383 | write 0 | avio 6
ms |
DSK | sdc | busy 12% | read 188 | write 0 | avio 7
ms |
DSK | sdd | busy 10% | read 152 | write 0 | avio 6
ms |
NET | transport | tcpi 314462 | tcpo 519719 | udpi 0 | udpo
0 |
NET | network | ipi 314452 | ipo 559134 | ipfrw 0 | deliv
314452 |
NET | eth0 66% | pcki 314473 | pcko 559128 | si 15 Mbps | so 665
Mbps |
PID SYSCPU USRCPU VGROW RGROW RDDSK WRDSK ST EXC S CPU CMD
1/10
87 0.08s 0.00s 0K 0K 0K 0K -- - S 1% kswapd0
3770 0.04s 0.01s 0K 0K 0K 0K -- - R 0% atop
2533 0.04s 0.00s 0K 0K 2348K 0K -- - S 0% nginx
3447 0.02s 0.01s 0K 0K 2484K 0K -- - S 0% nginx
3628 0.02s 0.01s 0K 0K 3476K 0K -- - S 0% nginx
3543 0.03s 0.00s 1024K 1024K 1108K 0K -- - S 0% nginx
3490 0.02s 0.01s 0K 0K 2048K 0K -- - S 0% nginx
3511 0.03s 0.00s 0K 0K 4096K 0K -- - S 0% nginx
2514 0.03s 0.00s 0K 0K 0K 0K -- - S 0% nginx
2521 0.03s 0.00s 0K 0K 0K 0K -- - S 0% nginx
2439 0.03s 0.00s 0K 0K 0K 0K -- - S 0% nginx
2427 0.02s 0.01s 0K 0K 0K 0K -- - S 0% nginx
2419 0.02s 0.01s 0K 0K 212K 0K -- - S 0% nginx
2545 0.03s 0.00s 0K 0K 6144K 0K -- - S 0% nginx
2479 0.03s 0.00s 0K 0K 24K 0K -- - S 0% nginx
2444 0.02s 0.01s 0K 0K 2048K 0K -- - S 0% nginx
2420 0.03s 0.00s 0K 0K 2048K 0K -- - S 0% nginx
2552 0.03s 0.00s 0K 0K 20K 0K -- - S 0% nginx
2540 0.02s 0.01s 0K 0K 4072K 0K -- - S 0% nginx
2382 0.02s 0.01s 0K 0K 4K 0K -- - S 0% nginx
2453 0.02s 0.01s 0K 0K 44K 0K -- - S 0% nginx
2364 0.02s 0.01s 0K 0K 3392K 0K -- - S 0% nginx
2551 0.03s 0.00s 0K 0K 5116K 0K -- - S 0% nginx
2377 0.02s 0.01s 0K 0K 2496K 0K -- - S 0% nginx
3442 0.02s 0.00s 0K 0K 0K 0K -- - S 0% nginx
3468 0.01s 0.01s 0K 0K 0K 0K -- - S 0% nginx
3601 0.01s 0.01s 0K 0K 24K 0K -- - S 0% nginx
3497 0.02s 0.00s 0K 0K 1436K 0K -- - S 0% nginx
3491 0.02s 0.00s 0K 0K 6072K 0K -- - S 0% nginx
3579 0.02s 0.00s 0K 0K 7200K 0K -- - S 0% nginx
3615 0.01s 0.01s 0K 0K 28K 0K -- - S 0% nginx
3498 0.02s 0.00s 0K 0K 180K 0K -- - S 0% nginx
3597 0.02s 0.00s 0K 0K 0K 0K -- - S 0% nginx
3632 0.02s 0.00s 0K 0K 4096K 0K -- - S 0% nginx
3436 0.01s 0.01s 0K 0K 0K 0K -- - S 0% nginx
3495 0.01s 0.01s 0K 0K 0K 4K -- - S 0% nginx
3513 0.01s 0.01s 0K 0K 0K 0K -- - S 0% nginx
3531 0.02s 0.00s 1028K 1028K 0K 0K -- - S 0% nginx
2011/11/6 Stephan Miyalik <s0527705277 на gmail.com>
> ок...
>
> вот до и после output_buffers
>
> eth0 / traffic statistics
>
> rx | tx
> --------------------------------------+------------------
> bytes 1.64 GiB | 69.76 GiB
> --------------------------------------+------------------
> max 16.53 Mbit/s | 716.89 Mbit/s
> average 14.42 Mbit/s | 612.79 Mbit/s
> min 13.03 Mbit/s | 549.31 Mbit/s
> --------------------------------------+------------------
> packets 28314241 | 50351809
> --------------------------------------+------------------
> max 34111 p/s | 61586 p/s
> average 29648 p/s | 52724 p/s
> min 26712 p/s | 47305 p/s
> --------------------------------------+------------------
> time 15.92 minutes
>
> root на debi:~# nano /usr/local/nginx/conf/nginx.conf
> root на debi:~# /usr/local/sbin/nginx -s reload
> root на debi:~# vnstat -l
> Monitoring eth0... (press CTRL-C to stop)
>
> rx: 15.02 Mbit/s 30941 p/s tx: 641.28 Mbit/s 55267 p/s^C
>
>
> eth0 / traffic statistics
>
> rx | tx
> --------------------------------------+------------------
> bytes 980.82 MiB | 40.47 GiB
> --------------------------------------+------------------
> max 16.26 Mbit/s | 687.16 Mbit/s
> average 14.15 Mbit/s | 597.69 Mbit/s
> min 12.59 Mbit/s | 529.58 Mbit/s
> --------------------------------------+------------------
> packets 16507511 | 29201489
> --------------------------------------+------------------
> max 33553 p/s | 59056 p/s
> average 29062 p/s | 51411 p/s
> min 25809 p/s | 45513 p/s
> --------------------------------------+------------------
> time 9.47 minutes
>
>
> 2011/11/6 Андрей Василишин <a.vasilishin на kpi.ua>
>
>> 06.11.2011 21:19, Stephan Miyalik пишет:
>>
>> поставил
>>> output_buffers 1 1m;
>>> сейчас посмотрим если есть изменения
>>>
>>> но думаю проблема в другом... один раз скорость ели ели доходит до
>>> 250-300мб
>>> а в другой раз вытягивает по 700мб
>>>
>>>
>> Поставьте утилиту atop, она наглядно покажет во что у Вас упирается.
>>
>>
>>
>> --
>> WBR, Andrey Vasilishin CDIG1-UANIC, CDIG1-RIPE
>>
>> ______________________________**_________________
>> nginx-ru mailing list
>> nginx-ru на nginx.org
>> http://mailman.nginx.org/**mailman/listinfo/nginx-ru<http://mailman.nginx.org/mailman/listinfo/nginx-ru>
>>
>
----------- следущая часть -----------
Вложение в формате HTML было извлечено…
URL: <http://mailman.nginx.org/pipermail/nginx-ru/attachments/20111106/ca43806e/attachment-0001.html>
Подробная информация о списке рассылки nginx-ru