unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Surendra Singhi <singhi.surendra@gmail.com>
To: mongrel-unicorn@rubyforge.org
Subject: unicorn behind apache with file uploads
Date: Sun, 15 Aug 2010 21:20:33 +0530	[thread overview]
Message-ID: <AANLkTinqP0P4HQLdRL+tLjAs4M=dXY=_ysd-z+n3qrdy@mail.gmail.com> (raw)

Hi,

For one of our apps we switched to unicorn from mongrel.
The unicorn server use to run behind an apache with timeout of 300sec,
as sometime the customer may do a large file upload.

After we made the switch we started getting lots of
Unicorn::ClientShutdown occurred in photos#flash_upload
bytes_read=2762663 (pr some other number)
We were not able to recreate it in our tests, but support was getting
customer emails, that the files upload is not working.
It finally forced us to switch back to mongrel.

I know a fully buffering reverse proxy like nginx is advised as
reverse proxy for unicorn, but apache has been serving us well, and we
don't want to change it.
Any idea what can be going wrong, or why was unicorn throwing these errors?

Thanks!
-- 
Surendra
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying


             reply	other threads:[~2010-08-15 15:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-15 15:50 Surendra Singhi [this message]
2010-08-15 22:56 ` unicorn behind apache with file uploads Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://yhbt.net/unicorn/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTinqP0P4HQLdRL+tLjAs4M=dXY=_ysd-z+n3qrdy@mail.gmail.com' \
    --to=singhi.surendra@gmail.com \
    --cc=mongrel-unicorn@rubyforge.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhbt.net/unicorn.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).