unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Troex Nevelin <list@mrtech.ru>
To: unicorn list <mongrel-unicorn@rubyforge.org>
Subject: Re: Increassing timeouts
Date: Tue, 9 Jul 2013 18:15:39 +0300	[thread overview]
Message-ID: <1302A068-C31A-4050-8172-80B81EF8E5B7@mrtech.ru> (raw)
In-Reply-To: <20130115194408.GA30869@dcvr.yhbt.net>

On Jan 15, 2013, at 21:44 , Eric Wong <normalperson@yhbt.net> wrote:

> But seriously, who will wait 120s for a website to load?

I have similar situation, in my case it's admin interface so admin
knows that some operations need time to process and will wait.

Right now I'm running two packs of Unicorn instances - one for quick
and one for long requests. But most of the time long request pool is 
idling and eating memory.

My question: is possible to change Unicorn timeout per request from
Rails app? Middleware hook could be ok too. (not sure if it's possible
as I think timeout is set in master).
_______________________________________________
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

  parent reply	other threads:[~2013-08-02 13:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-14 15:42 Increassing timeouts Manuel Palenciano Guerrero
2013-01-15 19:44 ` Eric Wong
2013-07-09 15:15   ` Troex Nevelin
2013-07-09 15:15   ` Troex Nevelin [this message]
2013-08-03  6:32     ` Eric Wong
  -- strict thread matches above, loose matches on Subject: below --
2013-01-16 15:17 Manuel Palenciano Guerrero
2013-01-16 18:53 ` 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=1302A068-C31A-4050-8172-80B81EF8E5B7@mrtech.ru \
    --to=list@mrtech.ru \
    --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).