<And if someone can get me that chinese blog for setting 2k concurrent
connections using sysctl-settings.>
Was it this one? It refers to 2M connections and claimed success. http://rdc.taobao.com/blog/cs/?p=1062
The blog is in Chinese. I used Chrome and clicked on “Translate” to read
it.
The load(nload) of 1500+ concurrent connections with 1Gbps port is : Curr:
988.95 MBit/s
Just to say… You are already hitting 1Gbits with a 1Gbit port…
It’s normal that is slow… no?
+1. I’m not seeing the problem here.
Exactly, the issue is crystal clear. You are already hitting your max
bandwidth with 1500+ concurrent connections, of course with 2000+
concurrent connections users will notice severe slowdowns. You have not
enough bandwidth to serve your clients.
I suggest to monitor your eth0 links carefully and upgrade to either
multiple bonded 1Gig links, 10gig links or more servers.
The load(nload) of 1500+ concurrent connections with 1Gbps port is : Curr:
988.95 MBit/s
Just to say… You are already hitting 1Gbits with a 1Gbit port…
It’s normal that is slow… no?
+1. I’m not seeing the problem here.
Exactly, the issue is crystal clear. You are already hitting your max bandwidth
with 1500+ concurrent connections, of course with 2000+ concurrent connections
users will notice severe slowdowns. You have not enough bandwidth to serve your
clients.
I suggest to monitor your eth0 links carefully and upgrade to either multiple
bonded 1Gig links, 10gig links or more servers.
Thanks for helping me out guyz. I’ll tune my content server according to
that chinese guide. Please keep in mind i had only sent the output of
one
of Five content servers. Other servers load(nload) is not that high and
they just hit 500Mbit/s on 2000 concurrent connections. However i’ll
monitor eth0 port more closely on peak time and will let you know the
status. Thanks
I have got an idea of preventing users to download videos from our site,
so
they just can stream videos and that way will save our bandwidth. We
have
used one of nginx module “limit_conn 1” so nobody will be able to
download
stream. But this thing has a major drawback of stream i.e if four users
are
streaming videos under a LAN network with same ip, other 3 won’t be able
to
stream videos due to 1st user, who’s already streaming it and when he’ll
finish streaming it’ll resume for 2nd user and vice virsa.
Can someone guide me if we can just prevent downloading but stream
remains
the same ?
On Thu, Jan 24, 2013 at 11:57 AM, shahzaib shahzaib