The issue has been resolved. It was monit who was creating issues and closing nginx connection during buffering. I changed the version of monit from 4.1* to 5.1* and there ain't no error in logs regarding "signal process started" . Thanks On Sat, Apr 13, 2013 at 7:24 PM, shahzaib shahzaib <shahzaib.cb@gmail.com>wrote: > We are facing issues regarding flv and somehow things aby shahzaib1232 - Nginx Mailing List - English
We are facing issues regarding flv and somehow things are fix and smooth and i haven't done anything :(. But i want to prevent these issues for the future. The source i used to download nginx is http://nginx.org/download/ . Please check my nginx.conf file may be there's some wrong settings there :- user nginx; worker_processes 8; worker_rlimit_nofile 300000; #2 filehandlers for each connectionby shahzaib1232 - Nginx Mailing List - English
Hello, We are running a video stream website and using nginx(1.2.1) for streaming. Whenever user plays the video it started smoothly but buffering stopped on the mid point and user have to seek again to play the video. I am sorry for my bad english. Its an urgent issue that is why i am texting crazy. I have already checked the file-descriptors error but have found nothing in the logs but theby shahzaib1232 - Nginx Mailing List - English
The issue has been solved, it was monit tool which was creating issues. Thanks :) Best Regards. Shahzaib On Thu, Mar 7, 2013 at 5:32 PM, shahzaib shahzaib <shahzaib.cb@gmail.com>wrote: > Hello, > > We recentyl changed our ip of the server to upgrade port to 2Gbps > but after upgrading port, we are unable to upload .flv video upto 4mb. > Everything was working fine bby shahzaib1232 - Nginx Mailing List - English
Hello, We recentyl changed our ip of the server to upgrade port to 2Gbps but after upgrading port, we are unable to upload .flv video upto 4mb. Everything was working fine before the up-gradation. Following is the nginx.conf file. Please i need a quick help :- user nginx; worker_processes 16; worker_rlimit_nofile 300000; #2 filehandlers for each connection #error_log logs/error.log; #by shahzaib1232 - Nginx Mailing List - English
We've got similar setup to you, 1db server, 3 www servers (App clustering), 5 content servers(nginx-1.2.1) for static content i.e (jpg,flv,mp4) but we don't have a separate conversion server, conversion and streaming is served by these 5 content servers and we've 32Gb Ram with Raid10 Sas drives and 1Gbps port for each of the content server and also got one large content storage server with slow HDby shahzaib1232 - Nginx Mailing List - English
Hello, I followed this post http://stackoverflow.com/questions/11250798/best-file-system-for-serving-1gb-files-using-nginx-under-moderate-write-read-p to optimize nginx for large static files i.e (flv,mp4) and enabled aio on nginx config which you can see below, and after enabling aio, directio, and output_buffers, i could notice(iostat -x -d 3) that cpu util% got higher from 10.00 to 35by shahzaib1232 - Nginx Mailing List - English
Thanks guyz, i'll look into your module, if it works for me and will let you know about that :) On Fri, Jan 25, 2013 at 8:40 AM, 姚伟斌 <yaoweibin@gmail.com> wrote: > I used to write a simple module for such purpose, It should work. Have a > try: https://github.com/yaoweibin/nginx_limit_speed_module > > > 2013/1/25 Patrick Lists <nginx-list@puzzled.xs4all.nl> >by shahzaib1232 - Nginx Mailing List - English
Can you explain a bit ? We are using Centos 6.3. On Thu, Jan 24, 2013 at 10:59 PM, Piotr Karbowski <jabberuser@gmail.com>wrote: > On 01/24/2013 06:52 PM, shahzaib shahzaib wrote: > >> Hello, >> >> Is there a way to limit speed per ip ? Doesn't matter how many >> connections the single ip is consuming but he shouldn't be able to get >> more >&by shahzaib1232 - Nginx Mailing List - English
Hello, Is there a way to limit speed per ip ? Doesn't matter how many connections the single ip is consuming but he shouldn't be able to get more than assigned download limit. limit_rate directive is for per connection but not for per ip. Looking forward to your help. Thanks _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailmaby shahzaib1232 - Nginx Mailing List - English
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 videosby shahzaib1232 - Nginx Mailing List - English
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 :) ________________________by shahzaib1232 - Nginx Mailing List - English
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:1by shahzaib1232 - Nginx Mailing List - English
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 porby shahzaib1232 - Nginx Mailing List - English
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 ## ##by shahzaib1232 - Nginx Mailing List - English
And also the 20+ lines of vmstat are given below with 2.6.32 kernal :- procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu----- r b swpd free buff cache si so bi bo in cs us sy id wa st 0 1 0 259020 49356 31418328 0 0 64 24 0 4 5 0 95 0 0 1 0 0 248100 49356 31418564 0 0 704 4 35809 3159 0 1 99 0 0by shahzaib1232 - Nginx Mailing List - English
Following is the output of 2200+ concurrent connections and kernel version is 2.6.32 :- Linux 2.6.32-279.19.1.el6.x86_64 (DNTX005.local) 01/23/2013 _x86_64_ (16 CPU) avg-cpu: %user %nice %system %iowait %steal %idle 1.75 3.01 0.49 0.13 0.00 94.63 Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn sda 23.27 2008.6by shahzaib1232 - Nginx Mailing List - English
Following is the output of 3000+ concurrent connections on iostat 1 command :- avg-cpu: %user %nice %system %iowait %steal %idle 1.72 2.96 0.47 0.12 0.00 94.73 Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn sda 22.47 1988.92 733.04 518332350 191037238 avg-cpu: %user %nice %system %iowait %steal %idleby shahzaib1232 - Nginx Mailing List - English
Sketchboy, i sent you the output of only 1000 concurrent connections because it wasn't peak hours of traffic. I'll send you the output of iostat 1 when concurrent connections will hit to 2000+ in next hour. Please keep in touch cause i need to resolve this issue :( On Wed, Jan 23, 2013 at 8:21 PM, skechboy <nginx-forum@nginx.us> wrote: > From your output I can see that it isn't IO issby shahzaib1232 - Nginx Mailing List - English
50% of it already been tweaked , i can send you sysctl.conf config if you ask for it. I think the problem is not kernals, it is something else. On Wed, Jan 23, 2013 at 7:58 PM, shahzaib shahzaib <shahzaib.cb@gmail.com>wrote: > File-discriptors are tweaked to 700000 in sysctl.conf. However i'll follow > above guide to tweak sysctl to better performance and will see if it works. >by shahzaib1232 - Nginx Mailing List - English
File-discriptors are tweaked to 700000 in sysctl.conf. However i'll follow above guide to tweak sysctl to better performance and will see if it works. Thanks for guiding me guyz. On Wed, Jan 23, 2013 at 7:42 PM, Reinis Rozitis <r@roze.lv> wrote: > If somebody can help me improving nginx config will be helpful to him. I >> apologize for bad engish :D >> > > It is not aby shahzaib1232 - Nginx Mailing List - English
Thanks for helping me out guyz but w're already dealing with 3-app servers clustering with haproxy load balancer (For this video streaming site), and can't afford another clustering type things. You're talking about Haproxy load-balancer to split required flv files requests to different servers. We'll have to buy 5 more content servers for mirroring data between every two servers to split load-balby shahzaib1232 - Nginx Mailing List - English
The average size of each flv video is 60Mb+. We've five content servers (nginx-1.2.1), each with 1Gbps port and 100TB bandwidth per month. Right now each server is consuming 10~12 bandwidth per day and we're going to run out of bandwidth on coming last days of month. However we limited every connection to 180k, you can see limit_rate 180k; in nginx.conf file. I am newbie to this field. Please corby shahzaib1232 - Nginx Mailing List - English
Sorry for above reply on wrong command. Following are the output of iostat 1 :- Linux 2.6.32-279.19.1.el6.x86_64 (DNTX005.local) 01/23/2013 _x86_64_ (16 CPU) avg-cpu: %user %nice %system %iowait %steal %idle 1.72 2.94 0.46 0.11 0.00 94.77 Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn sda 20.53 1958.91by shahzaib1232 - Nginx Mailing List - English
Hello, Following is the output of vmstat 1 on 1000+ concurrent connections :- procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu----- r b swpd free buff cache si so bi bo in cs us sy id wa st 0 0 0 438364 43668 31548164 0 0 62 23 3 0 5 0 95 0 0 0 0 0 437052 43668 31548520 0 0 1292 0 19763 1570by shahzaib1232 - Nginx Mailing List - English
Same problem with me on serving of large files with .flv and .mp4 extensions. Can somebody help ? Thanks On Tue, Jan 22, 2013 at 8:13 PM, jayaraj.k <nginx-forum@nginx.us> wrote: > Hi, > > We have a Nginx web server which is serving files whose size is almost 1GB. > We were trying to optimize the configuration with directio & output_buffers > directives. but, we couldn'tby shahzaib1232 - Nginx Mailing List - English
Hello, We are using nginx to serve large size of static files i.e jpg,flv and mp4 . Nginx stream works very well on 1000~1500 concurrent connections but whenever connections exceeded to 2000~2200, stream gets too slow. We've five content server with following specification:- Dual Quard Core (8cores/16threads) RAM = 32G HDD = Sas Hard-Raid 10 My nginx.conf config is given below : userby shahzaib1232 - Nginx Mailing List - English
we're running high traffic streaming website similar to youtube, due to large number of streams on daily basis, our server is consuming 10~12TB bandwidh per day. We're using nginx-1.2.1 and want to restrict users to download videos but don't want to restrict streams from our website. We also tried "limiting download connections per ip (limit_conn addr 1), but the problem is if 2~3 users are sby shahzaib1232 - Nginx Mailing List - English
will anyone help me? i am stuck in same problem? On Mon, Jul 2, 2012 at 12:18 PM, shahzaib shahzaib <shahzaib.cb@gmail.com>wrote: > @Maxim & @Lukas, i've noticed that the flv audio psuedo is working by > using given keyframes that is generated by flvmdi but video breaks during > usage of keyframes . > > > On Sat, Jun 30, 2012 at 11:17 AM, shahzaib shahzaib <shahby shahzaib1232 - Nginx Mailing List - English
you can copy this location & paste beneath with flv instead of mp4 On Mon, Jul 2, 2012 at 2:02 PM, aryut <nginx-forum@nginx.us> wrote: > hi, > > i want to use mp4 module and secure link module together. > > this is my conf; > location /videos/ { > secure_link $arg_st,$arg_e; > secure_link_mdby shahzaib1232 - Nginx Mailing List - English
![]() | ![]() | ![]() | ![]() |
|