Welcome! Log In Create A New Profile

Advanced

Uploads with nginx 1.0.12

Adrián Navarro
February 29, 2012 03:00PM
Hello,

I am using file uploads with nginx 1.0.12, php5-fpm and php 5.3.10.

Currently, big file uploads (~1300 MB) do take about 30 seconds to process
after the file is being uploaded, and the CPU load spikes. Is there a way
to prevent that?

I am using a very simple script (just a var_dump($_FILES), nothing more,
just debugging) and the config looks like the following:
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_pass_request_body off;
client_body_in_file_only clean;
fastcgi_param REQUEST_BODY_FILE $request_body_file;
fastcgi_send_timeout 120;
fastcgi_read_timeout 120;
fastcgi_index index.php;
include fastcgi_params;
}

Hope that someone can shed light into this…

Thank you.

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

Uploads with nginx 1.0.12

Adrián Navarro February 29, 2012 03:00PM

Re: Uploads with nginx 1.0.12

Cliff Wells February 29, 2012 03:36PM

Re: Uploads with nginx 1.0.12

Adrián Navarro February 29, 2012 03:50PM

Re: Uploads with nginx 1.0.12

Cliff Wells February 29, 2012 04:32PM

Re: Uploads with nginx 1.0.12

Valentin V. Bartenev February 29, 2012 04:44PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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