NginxHttpUploadProgressModule never response "done" state for large files

murphy nginx-forum at nginx.us
Mon May 17 16:21:45 MSD 2010


When uploading large files (>150Mb) , progress  bar shows normal till 100% value, but in the end of upload process  he does not send  "done" response, and looks like this :

....
new Object({ 'state' : 'uploading', 'received' : 244431206, 'size' : 244431206 })
new Object({ 'state' : 'uploading', 'received' : 244431206, 'size' : 244431206 })
new Object({ 'state' : 'uploading', 'received' : 244431206, 'size' : 244431206 })
new Object({ 'state' : 'uploading', 'received' : 244431206, 'size' : 244431206 })
new Object({ 'state' : 'uploading', 'received' : 244431206, 'size' : 244431206 })
...

 and after few seconds  (~30s)    "504 gateway time out"  error is showing.

The host config looks like the one in the UploadProgressModule example, other vars
[b]nginx.conf vars:[/b]
client_max_body_size       900m;
 keepalive_timeout   70 30;
 send_timeout        30s;

[b]php.ini vars:[/b]
post_max_size = 300M
upload_max_filesize = 300M
max_execution_filesize = 30
max_input_time = 90


[img]http://linkme.ufanet.ru/images/4de85ee1a58e66e134bdcdcc08cd28cf.jpg[/img]


Any ideas ? Thanks.

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




More information about the nginx mailing list