Welcome! Log In Create A New Profile

Advanced

Re: Nginx Windows High Traffic issues

June 30, 2014 02:20PM
Maxim Dounin Wrote:
-------------------------------------------------------
> Hello!
>
> On Sat, Jun 28, 2014 at 12:38:12AM -0400, c0nw0nk wrote:
>
> > Latest picture
> > http://s633.photobucket.com/user/C0nw0nk/media/Untitled-7.png.html
> >
> > Everything utilizing the read's and writes is nginx and when i set
> the
> > following buffers i get massive spikes like that.
> >
> > location ~ \.mp4$ {
> > mp4;
> > mp4_buffer_size 9000m;
> > mp4_max_buffer_size 9000m;
> > }
>
> Note that when using mp4 module, you should not set
> mp4_buffer_size too high. It's initial size of a buffer used to
> read mp4 files, and if a value specified is bigger than size of
> the moov atom in an mp4 file, reading extra bytes will be
> meaningless. It is generally recommended to set it to something
> like 512k (the default) or slightly larger (1m, 2m). Larger
> values make sense only if most of your mp4 files have huge moov
> atoms.
>
> Note well that if you use mp4 pseudo streaming, you should make
> sure that mp4 files are correctly prepared - i.e., with moov atom
> placed before mdat. While nginx will be able to work with files
> with moov atom at the end, it won't be able to do this
> efficiently.
>
> --
> Maxim Dounin
> http://nginx.org/
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx


All videos are already set out like that i also use the following python script to ensure that they have meta data at the start of the file instead of the end. https://gist.github.com/marpada/12e7d4a093aec402a989

I did a simple test to confirm it is I/O usage due to large files i run nginx same traffic conditions but i block "deny all;" to mp4, flv files and my i/o usage by nginx is about 1mb max and a few kb so i can confirm it is large files that are doing it i am currently looking into what would be better for me a SSD or a SAS 15K RPM.
Subject Author Posted

Nginx Windows High Traffic issues

c0nw0nk June 26, 2014 09:41AM

Re: Nginx Windows High Traffic issues

itpp2012 June 26, 2014 10:02AM

Re: Nginx Windows High Traffic issues

c0nw0nk June 26, 2014 10:18AM

Re: Nginx Windows High Traffic issues

c0nw0nk June 26, 2014 11:20AM

Re: Nginx Windows High Traffic issues

itpp2012 June 26, 2014 01:26PM

Re: Nginx Windows High Traffic issues

c0nw0nk June 26, 2014 02:03PM

Re: Nginx Windows High Traffic issues

Maxim Dounin June 26, 2014 02:46PM

Re: Nginx Windows High Traffic issues

c0nw0nk June 26, 2014 03:27PM

Re: Nginx Windows High Traffic issues

c0nw0nk June 26, 2014 03:33PM

Re: Nginx Windows High Traffic issues

itpp2012 June 26, 2014 05:20PM

Re: Nginx Windows High Traffic issues

c0nw0nk June 26, 2014 05:53PM

Re: Nginx Windows High Traffic issues

c0nw0nk June 26, 2014 06:29PM

Re: Nginx Windows High Traffic issues

itpp2012 June 27, 2014 01:56AM

Re: Nginx Windows High Traffic issues

c0nw0nk June 27, 2014 10:14AM

Re: Nginx Windows High Traffic issues

itpp2012 June 27, 2014 12:25PM

Re: Nginx Windows High Traffic issues

c0nw0nk June 27, 2014 12:28PM

Re: Nginx Windows High Traffic issues

itpp2012 June 27, 2014 01:16PM

Re: Nginx Windows High Traffic issues

c0nw0nk June 27, 2014 01:23PM

Re: Nginx Windows High Traffic issues

itpp2012 June 27, 2014 01:55PM

Re: Nginx Windows High Traffic issues

c0nw0nk June 27, 2014 02:33PM

Re: Nginx Windows High Traffic issues

itpp2012 June 27, 2014 03:25PM

Re: Nginx Windows High Traffic issues

c0nw0nk June 27, 2014 03:35PM

Re: Nginx Windows High Traffic issues

c0nw0nk June 27, 2014 04:20PM

Re: Nginx Windows High Traffic issues

c0nw0nk June 27, 2014 04:30PM

Re: Nginx Windows High Traffic issues

itpp2012 June 27, 2014 05:19PM

Re: Nginx Windows High Traffic issues

c0nw0nk June 27, 2014 05:46PM

Re: Nginx Windows High Traffic issues

Paul Schlie June 27, 2014 06:46PM

Re: Nginx Windows High Traffic issues

c0nw0nk June 27, 2014 08:27PM

Re: Nginx Windows High Traffic issues

c0nw0nk June 28, 2014 12:38AM

Re: Nginx Windows High Traffic issues

c0nw0nk June 29, 2014 12:00PM

Re: Nginx Windows High Traffic issues

c0nw0nk June 29, 2014 01:20PM

Re: Nginx Windows High Traffic issues

Maxim Dounin June 30, 2014 01:54PM

Re: Nginx Windows High Traffic issues

c0nw0nk June 30, 2014 02:20PM

Re: Nginx Windows High Traffic issues

c0nw0nk July 01, 2014 12:05AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 192
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready