Welcome! Log In Create A New Profile

Advanced

Re: Nginx flv stream gets too slow on 2000 concurrent connections

Geoffrey Hartz
January 23, 2013 03:44PM
Just to say... You are already hitting 1Gbits with a 1Gbit port...
It's normal that is slow... no?

2013/1/23 shahzaib shahzaib <shahzaib.cb@gmail.com>:
> I am seeing the following messages on dmesg output :-
>
> TCP: Peer 79.211.64.145:54649/80 unexpectedly shrunk window
> 347253187:347272955 (repaired)
> TCP: Peer 79.211.64.145:54649/80 unexpectedly shrunk window
> 347253187:347272955 (repaired)
> TCP: Peer 79.211.64.145:54649/80 unexpectedly shrunk window
> 347253187:347272955 (repaired)
> TCP: Peer 81.155.221.33:53075/80 unexpectedly shrunk window
> 1986341072:1986342532 (repaired)
> TCP: Peer 81.155.221.33:53075/80 unexpectedly shrunk window
> 1986341072:1986342532 (repaired)
> TCP: Peer 81.155.221.33:53075/80 unexpectedly shrunk window
> 1986341072:1986342532 (repaired)
> TCP: Peer 79.211.64.145:54709/80 unexpectedly shrunk window
> 1128744179:1128773611 (repaired)
> TCP: Peer 79.211.64.145:54709/80 unexpectedly shrunk window
> 1128744179:1128773611 (repaired)
> TCP: Peer 79.211.64.145:54709/80 unexpectedly shrunk window
> 1128744179:1128773611 (repaired)
> TCP: Peer 79.211.64.145:54709/80 unexpectedly shrunk window
> 1128744179:1128773611 (repaired)
> TCP: Peer 79.211.64.145:54709/80 unexpectedly shrunk window
> 1128744179:1128773611 (repaired)
> TCP: Peer 79.211.64.145:54709/80 unexpectedly shrunk window
> 1128744179:1128773611 (repaired)
>
>
> If somebody can explain me ? what is that shrunk window thing?
>
>
> On Thu, Jan 24, 2013 at 1:27 AM, shahzaib shahzaib <shahzaib.cb@gmail.com>
> wrote:
>>
>> No i didn't concerned with network operators yet. And if someone can get
>> me that chinese blog for setting 2k concurrent connections using
>> sysctl-settings. So far i used this guide to tune kernal.
>> http://www.cyberciti.biz/faq/linux-tcp-tuning/
>>
>>
>> On Thu, Jan 24, 2013 at 1:21 AM, shahzaib shahzaib <shahzaib.cb@gmail.com>
>> wrote:
>>>
>>> The load(nload) of 1500+ concurrent connections with 1Gbps port is :
>>> Curr: 988.95 MBit/s
>>> ## ##
>>> ## ## ## ## ## ## # Avg: 510.84 MBit/s
>>> ## ##
>>> ## ## ## ## ## ## # Min: 0.00 Bit/s
>>> ## ##
>>> ## ## ## ## ## ## # Max: 1005.17 MBit/s
>>> ## ##
>>> ## ## ## ## ## ## # Ttl: 10017.30 GByte
>>>
>>> What should i see into dmesg to analyse the problem ? I'll also send you
>>> the nload when the traffic will hit to its peak, at this time its average
>>> traffic. The following is ifconfig eth0 output :-
>>>
>>> eth0 Link encap:Ethernet HWaddr X:X:X:X:X:X
>>> inet addr:X.X.X.X Bcast:X.X.X.X Mask:255.255.255.192
>>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>>> RX packets:3713630148 errors:0 dropped:0 overruns:0 frame:0
>>> TX packets:7281199166 errors:0 dropped:0 overruns:0 carrier:0
>>> collisions:0 txqueuelen:1000
>>> RX bytes:260499010337 (242.6 GiB) TX bytes:10767156835559 (9.7
>>> TiB)
>>> Memory:fbe60000-fbe80000
>>>
>>>
>>>
>>> On Thu, Jan 24, 2013 at 12:29 AM, Rainer Duffner <rainer@ultra-secure.de>
>>> wrote:
>>>>
>>>>
>>>> Am 23.01.2013 um 20:03 schrieb shahzaib shahzaib
>>>> <shahzaib.cb@gmail.com>:
>>>>
>>>> > And also the 20+ lines of vmstat are given below with 2.6.32 kernal :-
>>>>
>>>>
>>>> There was a thread recently (well, last year sometimes) with a link to a
>>>> blog in Chinese with sysctl-settings etc.
>>>> It had tunings for 2k concurrent connections.
>>>>
>>>> Maybe somebody can dig it out?
>>>> _______________________________________________
>>>> nginx mailing list
>>>> nginx@nginx.org
>>>> http://mailman.nginx.org/mailman/listinfo/nginx
>>>
>>>
>>
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx



--
Geoffrey HARTZ

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx flv stream gets too slow on 2000 concurrent connections

shahzaib1232 January 23, 2013 04:44AM

Re: Nginx flv stream gets too slow on 2000 concurrent connections

skechboy January 23, 2013 06:58AM

Re: Nginx flv stream gets too slow on 2000 concurrent connections

shahzaib1232 January 23, 2013 07:12AM

Re: Nginx flv stream gets too slow on 2000 concurrent connections

shahzaib1232 January 23, 2013 07:16AM

Re: Nginx flv stream gets too slow on 2000 concurrent connections

skechboy January 23, 2013 10:21AM

Re: Nginx flv stream gets too slow on 2000 concurrent connections

shahzaib1232 January 23, 2013 10:32AM

Re: Nginx flv stream gets too slow on 2000 concurrent connections

shahzaib1232 January 23, 2013 11:52AM

RE: Nginx flv stream gets too slow on 2000 concurrent connections

Lukas Tribus January 23, 2013 01:10PM

Re: Nginx flv stream gets too slow on 2000 concurrent connections

shahzaib1232 January 23, 2013 02:02PM

Re: Nginx flv stream gets too slow on 2000 concurrent connections

shahzaib1232 January 23, 2013 02:06PM

RE: Nginx flv stream gets too slow on 2000 concurrent connections

Lukas Tribus January 23, 2013 02:20PM

Re: Nginx flv stream gets too slow on 2000 concurrent connections

Rainer Duffner January 23, 2013 02:30PM

Re: Nginx flv stream gets too slow on 2000 concurrent connections

shahzaib1232 January 23, 2013 03:22PM

Re: Nginx flv stream gets too slow on 2000 concurrent connections

shahzaib1232 January 23, 2013 03:28PM

Re: Nginx flv stream gets too slow on 2000 concurrent connections

shahzaib1232 January 23, 2013 03:40PM

Re: Nginx flv stream gets too slow on 2000 concurrent connections

Geoffrey Hartz January 23, 2013 03:44PM

Re: Nginx flv stream gets too slow on 2000 concurrent connections

Jonathan Matthews January 23, 2013 05:22PM

RE: Nginx flv stream gets too slow on 2000 concurrent connections

Lukas Tribus January 23, 2013 07:06PM

Re: Nginx flv stream gets too slow on 2000 concurrent connections

Scott Ribe January 23, 2013 07:14PM

Re: Nginx flv stream gets too slow on 2000 concurrent connections

Stefan Caunter January 23, 2013 10:52PM

Re: Nginx flv stream gets too slow on 2000 concurrent connections

shahzaib1232 January 24, 2013 01:58AM

Re: Nginx flv stream gets too slow on 2000 concurrent connections

shahzaib1232 January 24, 2013 06:32AM

Re: Nginx flv stream gets too slow on 2000 concurrent connections

姚伟斌 January 24, 2013 10:56PM

Re: Nginx flv stream gets too slow on 2000 concurrent connections

richardm January 23, 2013 04:50PM

Re: Nginx flv stream gets too slow on 2000 concurrent connections

Rainer Duffner January 23, 2013 04:52PM

Re: Nginx flv stream gets too slow on 2000 concurrent connections

Dennis Jacobfeuerborn January 23, 2013 07:42AM

Re: Nginx flv stream gets too slow on 2000 concurrent connections

shahzaib1232 January 23, 2013 08:14AM

Re: Nginx flv stream gets too slow on 2000 concurrent connections

Geoffrey Hartz January 23, 2013 08:36AM

Re: Nginx flv stream gets too slow on 2000 concurrent connections

shahzaib1232 January 23, 2013 09:16AM

Re: Nginx flv stream gets too slow on 2000 concurrent connections

Reinis Rozitis January 23, 2013 09:44AM

Re: Nginx flv stream gets too slow on 2000 concurrent connections

shahzaib1232 January 23, 2013 10:00AM

Re: Nginx flv stream gets too slow on 2000 concurrent connections

shahzaib1232 January 23, 2013 10:10AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 286
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready