

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
7 messages in ru.sysoev.nginxRe: Slow file upload on OS X server| From | Sent On | Attachments |
|---|---|---|
| Jamey Cribbs | Dec 21, 2007 7:27 am | |
| Wayne E. Seguin | Dec 22, 2007 7:56 am | |
| Alex Egg | Dec 22, 2007 11:07 am | |
| Jamey Cribbs | Dec 22, 2007 1:39 pm | |
| Rapsey | Dec 23, 2007 6:17 am | |
| Jamey Cribbs | Dec 31, 2007 10:17 am | |
| Manlio Perillo | Jan 1, 2008 9:31 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | Re: Slow file upload on OS X server | Actions... |
|---|---|---|
| From: | Rapsey (raps...@public.gmane.org) | |
| Date: | Dec 23, 2007 6:17:51 am | |
| List: | ru.sysoev.nginx | |
How slow is it? I use OS X and nginx as a frontend, but not to mongrel. File uploading works fine for me.
On Dec 22, 2007 10:39 PM, Jamey Cribbs
<jame...@public.gmane.org> wrote:
Well, I turned off sendfile in config. I also changed a bunch of parameters per an email I received from Dave Cheney (thanks Dave!). No luck.
Just for laughs, I installed and configured Swiftiply with Mongrel and turned off Nginx. Same issue.
So, then I turned off Swiftiply also and started just one mongrel and told it to listen on port 80. It worked great. File uploads were much faster.
So, if I am having the same issue when proxying from either Swiftiply or Nginx, but I don't have the slowness issue when I don't proxy and just go straight to the mongrel instance, this tells me the problem is not with Nginx, but must be some setting on the OS X server.
Does anyone know what would cause proxying in general to be slow on an OS X server? I know its not the network speed from the browser to the server, because when I was connecting directly to the mongrel instance without proxying, file uploads were fine.
Sorry for asking this (probably) non-nginx related question on the list, but I started it here, so I figured I would ask one more question.
Thanks.
Jamey Cribbs
On Dec 22, 2007 2:08 PM, Alex Egg <
eggi...@public.gmane.org> wrote:
no sendfile on os x
On Dec 22, 2007 7:57 AM, Wayne E. Seguin
<wayn...@public.gmane.org> wrote:
On Dec 21, 2007 10:28 AM, Jamey Cribbs <
jame...@public.gmane.org>
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







