Welcome! Log In Create A New Profile

Advanced

Nginx NAS serving large files

Graham D.
October 22, 2011 02:30PM
Hello Ladies and Gentlemen,

We have a very frustrating problem with a NAS configuration that we
recently set-up. After running a filesharing website on 8 servers for 1+
years we decided to switch to a NAS configuration. We set-up our NAS
(24x1TB Raid 5) to serve files to 9 front end servers over a private
switch - doing 9 servers on 1 disk(logical)... not sure if nginx can
handle this. Since we've moved to the NAS BW usage has dropped
significantly even though our traffic has stayed the same. Download
speeds are pretty bad aswell but this is due to IO issues that are being
created by NGINX. so here's the problem we are facing...

In theory nginx is creating an io bottleneck because it's opening to
many times without closing. We're using nginx on our front end servers
to grab files off our nas - each file will stay alive though for 45+
minutes. Instead of opening it for 10 seconds, reading into memory, and
closing - it's opening it for 10 seconds, reading into memory, streaming
it for 45 minutes, THEN closing. We ran a test with nginx and we were
only able to download at 30kbps on port 182, how-ever over apache we
were able to reach speeds of 20mb/s.

We've re-compiled nignx and installed the most recent stable version but
that didn't fix anything.

Can someone please suggest a fix here? I've ran out of ideas...

Thank you!

--
Posted via http://www.ruby-forum.com/.

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

Nginx NAS serving large files

Graham D. October 22, 2011 02:30PM

Re: Nginx NAS serving large files

Brian Akins October 22, 2011 09:00PM

Re: Nginx NAS serving large files

Graham D. October 24, 2011 12:44PM

Re: Nginx NAS serving large files

Graham D. October 25, 2011 12:20AM

Re: Nginx NAS serving large files

Andrew Alexeev October 25, 2011 04:26AM

Re: Nginx NAS serving large files

Graham D. October 25, 2011 12:08PM

Re: Nginx NAS serving large files

Brian Akins October 25, 2011 03:10PM

Re: Nginx NAS serving large files

Aleksandar Lazic October 25, 2011 06:44PM

Re: Nginx NAS serving large files

Aleksandar Lazic October 25, 2011 05:06AM

Re: Nginx NAS serving large files

Igor Sysoev October 25, 2011 05:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 95
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