4 messages in ru.sysoev.nginxRe: File uploads and client_body_temp...
FromSent OnAttachments
Michael NachbaurJul 29, 2008 10:00 am 
RapseyJul 29, 2008 10:14 am 
Michael NachbaurJul 29, 2008 10:37 am 
Ezra ZygmuntowiczJul 29, 2008 4:31 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: File uploads and client_body_temp_temp problemsActions...
From:Ezra Zygmuntowicz (ezmo@public.gmane.org)
Date:Jul 29, 2008 4:31:23 pm
List:ru.sysoev.nginx

On Jul 29, 2008, at 10:37 AM, Michael Nachbaur wrote:

I find it hard to believe that, with all these sites working behind nginx that there isn't a better answer than "Switch web servers". There must be someone here doing file uploads, since it is a very common webapp requirement.

Is there anything anyone has done to reduce the impact of this problem? I already switched from lighttpd to nginx, and I really don't want to have to switch it for yet another "flavour of the month" web server.

Unfortunately nginx always buffers file uploads and will not pass them to the backend until after the upload is complete. There are two modules that can mitigate this factor though that are worth checking out. one of them parses the multipart body in nginx and places a file on the filesystem your backend can get without parsing. The other one does upload progress bars in nginx itself keeping the load and polling off of your backends.

http://www.grid.net.ru/nginx/upload.en.html http://wiki.codemongers.com/NginxHttpUploadProgressModule'

'Cheers- -Ezra