<div dir="ltr">Following is the output of 2200+ concurrent connections and kernel version is 2.6.32 :-<br><br>Linux 2.6.32-279.19.1.el6.x86_64 (DNTX005.local) 01/23/2013 _x86_64_ (16 CPU)<br><br>avg-cpu: %user %nice %system %iowait %steal %idle<br>
1.75 3.01 0.49 0.13 0.00 94.63<br><br>Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn<br>sda 23.27 2008.64 747.29 538482374 200334422<br><br>avg-cpu: %user %nice %system %iowait %steal %idle<br>
0.97 0.00 1.10 0.19 0.00 97.74<br><br>Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn<br>sda 30.00 2384.00 112.00 2384 112<br><br>avg-cpu: %user %nice %system %iowait %steal %idle<br>
0.13 0.00 0.52 0.13 0.00 99.22<br><br>Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn<br>sda 21.00 1600.00 8.00 1600 8<br><br>avg-cpu: %user %nice %system %iowait %steal %idle<br>
0.19 0.00 0.45 0.26 0.00 99.10<br><br>Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn<br>sda 37.00 2176.00 8.00 2176 8<br><br>avg-cpu: %user %nice %system %iowait %steal %idle<br>
0.45 0.00 0.58 0.19 0.00 98.77<br><br>Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn<br>sda 24.00 1192.00 8.00 1192 8<br><br>avg-cpu: %user %nice %system %iowait %steal %idle<br>
0.32 0.00 0.45 0.19 0.00 99.03<br><br>Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn<br>sda 29.00 2560.00 8.00 2560 8<br><br><br>avg-cpu: %user %nice %system %iowait %steal %idle<br>
0.32 0.00 0.65 0.19 0.00 98.84<br><br>Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn<br>sda 35.00 2584.00 152.00 2584 152<br><br>avg-cpu: %user %nice %system %iowait %steal %idle<br>
0.26 0.00 0.39 0.39 0.00 98.96<br><br>Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn<br>sda 25.00 1976.00 8.00 1976 8<br><br>avg-cpu: %user %nice %system %iowait %steal %idle<br>
0.32 0.00 0.52 0.39 0.00 98.77<br><br>Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn<br>sda 33.00 1352.00 8.00 1352 8<br><br>avg-cpu: %user %nice %system %iowait %steal %idle<br>
0.26 0.00 0.58 0.26 0.00 98.90<br><br>Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn<br>sda 28.00 2408.00 8.00 2408 8<br><br>avg-cpu: %user %nice %system %iowait %steal %idle<br>
0.45 0.00 0.65 0.06 0.00 98.84<br><br>Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn<br>sda 37.00 1896.00 8.00 1896 8<br><br>avg-cpu: %user %nice %system %iowait %steal %idle<br>
0.71 0.00 0.97 0.13 0.00 98.19<br><br>Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn<br>sda 33.00 2600.00 64.00 2600 64<br><br>avg-cpu: %user %nice %system %iowait %steal %idle<br>
0.32 0.00 0.65 0.26 0.00 98.77<br><br>Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn<br>sda 20.00 1520.00 8.00 1520 8<br><br>avg-cpu: %user %nice %system %iowait %steal %idle<br>
0.19 0.00 0.39 0.19 0.00 99.22<br><br>Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn<br>sda 49.00 3088.00 80.00 3088 80<br><br>avg-cpu: %user %nice %system %iowait %steal %idle<br>
0.26 0.00 0.91 0.26 0.00 98.58<br><br>Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn<br>sda 48.00 1328.00 8.00 1328 8<br><br>avg-cpu: %user %nice %system %iowait %steal %idle<br>
0.32 0.00 0.32 0.26 0.00 99.09<br><br>Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn<br>sda 32.00 1528.00 8.00 1528 8<br><br>avg-cpu: %user %nice %system %iowait %steal %idle<br>
0.45 0.00 0.58 0.39 0.00 98.58<br><br>Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn<br>sda 35.00 1624.00 72.00 1624 72<br><br>avg-cpu: %user %nice %system %iowait %steal %idle<br>
0.39 0.00 0.58 0.19 0.00 98.84<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 23, 2013 at 11:07 PM, Lukas Tribus <span dir="ltr"><<a href="mailto:luky-37@hotmail.com" target="_blank">luky-37@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Can you send us a 20+ lines of output from "vmstat 1" under this load? Also, what exact linux kernel are you running ("cat /proc/version")?<br>
<br>
<br>
________________________________<br>
> Date: Wed, 23 Jan 2013 21:51:43 +0500<br>
> Subject: Re: Nginx flv stream gets too slow on 2000 concurrent connections<br>
> From: <a href="mailto:shahzaib.cb@gmail.com">shahzaib.cb@gmail.com</a><br>
> To: <a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<div class="im">><br>
> Following is the output of 3000+ concurrent connections on iostat 1<br>
> command :-<br>
><br>
> avg-cpu: %user %nice %system %iowait %steal %idle<br>
> 1.72 2.96 0.47 0.12 0.00 94.73<br>
><br>
> Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn<br>
> sda 22.47 1988.92 733.04 518332350 191037238<br>
><br>
> avg-cpu: %user %nice %system %iowait %steal %idle<br>
> 0.39 0.00 0.91 0.20 0.00 98.50<br>
><br>
> Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn<br>
> sda 22.00 2272.00 0.00 2272 0<br>
><br>
> avg-cpu: %user %nice %system %iowait %steal %idle<br>
> 0.46 0.00 0.91 0.07 0.00 98.57<br>
><br>
> Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn<br>
> sda 23.00 864.00 48.00 864 48<br>
><br>
> avg-cpu: %user %nice %system %iowait %steal %idle<br>
> 0.39 0.00 0.72 0.33 0.00 98.56<br>
><br>
> Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn<br>
> sda 60.00 3368.00 104.00 3368 104<br>
><br>
> avg-cpu: %user %nice %system %iowait %steal %idle<br>
> 0.20 0.00 0.65 0.20 0.00 98.95<br>
><br>
><br>
><br>
> On Wed, Jan 23, 2013 at 8:30 PM, shahzaib shahzaib<br>
</div><div class="im">> <<a href="mailto:shahzaib.cb@gmail.com">shahzaib.cb@gmail.com</a><mailto:<a href="mailto:shahzaib.cb@gmail.com">shahzaib.cb@gmail.com</a>>> wrote:<br>
> Sketchboy, i sent you the output of only 1000 concurrent connections<br>
> because it wasn't peak hours of traffic. I'll send you the output of<br>
> iostat 1 when concurrent connections will hit to 2000+ in next hour.<br>
> Please keep in touch cause i need to resolve this issue :(<br>
><br>
><br>
> On Wed, Jan 23, 2013 at 8:21 PM, skechboy<br>
</div><div class="im">> <<a href="mailto:nginx-forum@nginx.us">nginx-forum@nginx.us</a><mailto:<a href="mailto:nginx-forum@nginx.us">nginx-forum@nginx.us</a>>> wrote:<br>
> From your output I can see that it isn't IO issue, I wish I could help you<br>
> more.<br>
><br>
> Posted at Nginx Forum:<br>
</div>> <a href="http://forum.nginx.org/read.php?2,235447,235476#msg-235476" target="_blank">http://forum.nginx.org/read.php?2,235447,235476#msg-235476</a><<a href="http://forum.nginx.org/read.php?2%2c235447%2c235476#msg-235476" target="_blank">http://forum.nginx.org/read.php?2%2c235447%2c235476#msg-235476</a>><br>
><br>
> _______________________________________________<br>
> nginx mailing list<br>
> <a href="mailto:nginx@nginx.org">nginx@nginx.org</a><mailto:<a href="mailto:nginx@nginx.org">nginx@nginx.org</a>><br>
> <a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
<div class="HOEnZb"><div class="h5">><br>
><br>
><br>
> _______________________________________________ nginx mailing list<br>
> <a href="mailto:nginx@nginx.org">nginx@nginx.org</a> <a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br></div>