From: Eric Wong <normalperson@yhbt.net>
To: Ilya Bazylchuk <ilya.bazylchuk@gmail.com>
Cc: mongrel-unicorn@rubyforge.org
Subject: Re: Stucks DB connections
Date: Mon, 24 Feb 2014 19:01:30 +0000 [thread overview]
Message-ID: <20140224190130.GA21041@dcvr.yhbt.net> (raw)
In-Reply-To: <17CD6ADE-9BBE-4989-B846-C9568F2D2973@gmail.com>
Ilya Bazylchuk <ilya.bazylchuk@gmail.com> wrote:
> Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-40-virtual x86_64) without any changes.
>
> In resque, sidekiq we don't have this problems. Can be stuck
> connection, when unicorn reset request by timeout?
It could be stuck if your DB adapter times out and forget to
reset/rollback transactions on the connections. Check with the DB
adapter developers.
Note: the internal timeout of unicorn isn't intended for DB failures,
that is a last resort. Use the builtin timeout of the DB adapters.
(Btw, please keep the mailing list Cc-ed and don't top post)
_______________________________________________
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
prev parent reply other threads:[~2014-02-24 19:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-24 12:33 Stucks DB connections Ilya Bazylchuk
2014-02-24 18:25 ` Eric Wong
[not found] ` <17CD6ADE-9BBE-4989-B846-C9568F2D2973@gmail.com>
2014-02-24 19:01 ` Eric Wong [this message]
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=20140224190130.GA21041@dcvr.yhbt.net \
--to=normalperson@yhbt.net \
--cc=ilya.bazylchuk@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).