Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

1GB File Limit on http

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
szimre
Posts: 16
Joined: Sun Nov 02, 2014 11:54 pm
Contact:
Contact szimre
Website

1GB File Limit on http
  • Quote

Post by szimre » Sun Nov 30, 2014 9:09 pm

Hi!

I've found that if you try to download files bigger than 1GB in size from your server your download will stop at 1GB without any errors on the client side (so it looks like that the download is completed while it's not, but stopped at 1GB (+/-100MB) and the file got corrupted)

I don't seem to find this configured anywhere, have anyone faced this issue before? Which files i should edit?

Web domain is set up like this:
Apache: default
nginx: no

(I don't think it's the server, but stats: VPS with 10GB RAM + 10GB vSwap, Quad-core E5v3, 500GB HDD, avarge load under 0.1 running latest Vesta version)

Please note that it's not a connection related problem, transferring over FTP or any other protocols works fine.

Thank you!
Top

szimre
Posts: 16
Joined: Sun Nov 02, 2014 11:54 pm
Contact:
Contact szimre
Website

Re: 1GB File Limit on http
  • Quote

Post by szimre » Tue Dec 09, 2014 10:58 pm

bump
Top

Afternova
Posts: 7
Joined: Sat Dec 20, 2014 8:42 pm

Re: 1GB File Limit on http
  • Quote

Post by Afternova » Tue Jun 23, 2015 1:20 pm

bump

Anyone?
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: 1GB File Limit on http
  • Quote

Post by skurudo » Thu Jun 25, 2015 10:09 am

Bang! ;-)

Guys, look at nginx option - proxy_max_temp_file_size

Code: Select all

Syntax:	proxy_max_temp_file_size size;
Default:	proxy_max_temp_file_size 1024m;
Context:	http, server, location
http://nginx.org/en/docs/http/ngx_http_ ... _file_size

This variable indicates the max size of a temporary file when the data served is bigger than the proxy buffer. If it is indeed bigger than the buffer, it will be served synchronously from the upstream server, avoiding the disk buffering.
If you configure proxy_max_temp_file_size to 0, then your temporary files will be disabled.
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password