Welcome! Log In Create A New Profile


file upload with php-fpm

May 04, 2013 10:54AM

I've a problem with file upload and googling and checking with everything didn't help to solve it.

The problem is when file is being uploaded larger than few megs browser repeats request after about 30 seconds, and on the second request after another 30-40s it throws connection reset and nginx has 408 error on that post request, no other errors in nginx nor in php.

related settings to fiel upload are:

client_body_buffer_size 1m;
client_header_buffer_size 128k;
client_max_body_size 1000m;

client_body_timeout 500;
client_header_timeout 500;
keepalive_timeout 500 500;
send_timeout 500;

keepalive_requests 100;
tcp_nodelay on;
reset_timedout_connection on;

server works with php (php-fpm) with socket. standart configuration.

file upload with php-fpm

natelessMay 04, 2013 10:54AM

Re: file upload with php-fpm

SylviaMay 04, 2013 03:54PM

Re: file upload with php-fpm

natelessMay 04, 2013 04:49PM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 95
Record Number of Users: 5 on August 04, 2015
Record Number of Guests: 244 on October 02, 2015
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready