Slow file upload on OS X server
Wayne E. Seguin
wayneeseguin at gmail.com
Sat Dec 22 18:57:20 MSK 2007
On Dec 21, 2007 10:28 AM, Jamey Cribbs <jamey.cribbs at gmail.com> wrote:
> I have a rails app running on an OS X server, using nginx as the web
> server, proxying to a mongrel cluster. File uploads from the user's browser
> are painfully slow when going through nginx, but if I target an individual
> mongrel instance in the browser, the file upload is fast. I have the latest
> mac ports version of nginx installed ( 0.54, I believe).
>
> Any ideas? I tried changing the log format, as suggested in a reply to
> someone else's post, but could not get nginx to start, so I don't know if
> nginx has to be compiled with a particular flag in order to include the log
> format config directive in nginx.conf.
>
> Any help, suggestions would be greatly appreciated.
>
> Jamey Cribbs
>
Try turning sendfile off in the config.
~Wayne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20071222/01c3682b/attachment.html>
More information about the nginx
mailing list