Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2017-11-07, 23:38:44

Author Topic: Nginx-proxy dies when downloading more than 1 GB file  (Read 833 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
It's getting about 100 MB/s then all pages are down and server is unresponsive. Then after 2-3 minutes it's all ok again.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Nginx-proxy dies when downloading more than 1 GB file
« Reply #1 on: 2014-12-25, 10:14:18 »
I've fixed this with a change in max_size from 1000m to 100m:

Quote
    proxy_cache_path /var/cache/nginx-proxy levels=1:2 keys_zone=pcache:8m max_size=100m inactive=600m;
    proxy_temp_path /tmp/nginx 1 2;

    fastcgi_cache_path /var/cache/nginx-fastcgi levels=1:2 keys_zone=fcache:8m max_size=100m inactive=600m;
    fastcgi_temp_path /tmp/nginx 1 2;

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.038 seconds with 16 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM