Welcome! Log In Create A New Profile

Advanced

Problem with uploading large video files - IO/HTTP error

Posted by tophi 
Hello,
I recently moved one of my projects to new server using NGINX + php-fpm
..The problem is, that when I upload ~50 MB video it works well, but when
I try to upload bigger file - it gives me IO or sometimes HTTP error.

php.ini
max_execution_time = 900
max_input_time = 900
memory_limit = 2048M
post_max_size = 2048M
upload_max_filesize = 2048M
file_uploads = On

nginx.conf
client_max_body_size 2048m;
client_body_timeout 900;
client_header_timeout 900;


my php-fpm logs are empy, my nginx error log too
Thanks

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,226854,226854#msg-226854

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
the upload size is related with your disk size which nginx cache the temp
file.
please check where the temp file locates.

thanks
George


On Sun, May 27, 2012 at 9:44 PM, tophi <[email protected]> wrote:

> Hello,
> I recently moved one of my projects to new server using NGINX + php-fpm
> .The problem is, that when I upload ~50 MB video it works well, but when
> I try to upload bigger file - it gives me IO or sometimes HTTP error.
>
> php.ini
> max_execution_time = 900
> max_input_time = 900
> memory_limit = 2048M
> post_max_size = 2048M
> upload_max_filesize = 2048M
> file_uploads = On
>
> nginx.conf
> client_max_body_size 2048m;
> client_body_timeout 900;
> client_header_timeout 900;
>
>
> my php-fpm logs are empy, my nginx error log too
> Thanks
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,226854,226854#msg-226854
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
My /tmp/ folder is chmod 777 ,
df -h
/dev/md0 915G 220G 650G 26% /

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,226854,226908#msg-226908

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Hello I solved the problem, I was using the cloudflare services and
currently theu support only 50MB upload on their free plans.
After I removed their services the website works again.

Regards

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,226854,226942#msg-226942

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Sorry, only registered users may post in this forum.

Click here to login