From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS14383 205.234.109.0/24 X-Spam-Status: No, score=-0.6 required=5.0 tests=AWL,FREEMAIL_FROM, RP_MATCHES_RCVD,T_DKIM_INVALID shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: archivist@yhbt.net Delivered-To: archivist@dcvr.yhbt.net Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by dcvr.yhbt.net (Postfix) with ESMTP id 3C7812106F for ; Mon, 26 Sep 2011 01:31:19 +0000 (UTC) Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 6E8011D78101; Sun, 25 Sep 2011 21:31:13 -0400 (EDT) X-Original-To: mongrel-unicorn@rubyforge.org Delivered-To: mongrel-unicorn@rubyforge.org Received: from mail-yx0-f178.google.com (mail-yx0-f178.google.com [209.85.213.178]) by rubyforge.org (Postfix) with ESMTP id 79035185837B for ; Sun, 25 Sep 2011 21:30:59 -0400 (EDT) Received: by yxj19 with SMTP id 19so5308166yxj.23 for ; Sun, 25 Sep 2011 18:30:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:message-id:subject:x-mailer:mime-version:content-type :content-transfer-encoding:content-disposition; bh=2O1cpVhlajc+oZllD3+1C7SC37nWZ5gZbs+mnqOEK3o=; b=Z0QeJU9O+1v11l3bXH5Kw5ew6riSBds0Rn++PVIDSsmu+4rIO2xOgD33lAMjLOytHw AuZJTIxWgibVs7T2LAENGeW6PbpJRklRdfUDAHBckEDdq7eztTjnif4mWKulMYSG4wgX rfx7py5gZAM2OucnMxAdV2VwWt/Xo067X4Myk= Received: by 10.68.20.67 with SMTP id l3mr26030973pbe.117.1317000287211; Sun, 25 Sep 2011 18:24:47 -0700 (PDT) Received: from alex-mbp-2.local (cpe-75-83-127-198.socal.res.rr.com. [75.83.127.198]) by mx.google.com with ESMTPS id n10sm67807161pbe.4.2011.09.25.18.24.45 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 25 Sep 2011 18:24:46 -0700 (PDT) Date: Sun, 25 Sep 2011 18:24:44 -0700 From: Alex Sharp To: unicorn list Message-ID: <4D4841AA1FE04C98BF883BDE8B17741E@gmail.com> Subject: Timeout callback X-Mailer: sparrow 1.3.2 (build 814.60) MIME-Version: 1.0 Content-Disposition: inline X-BeenThere: mongrel-unicorn@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: mongrel-unicorn-bounces@rubyforge.org Errors-To: mongrel-unicorn-bounces@rubyforge.org Would there be any support for a worker-level timeout callback, for workers that get killed by the master process for violating the Unicorn::Configurator.timeout setting? I'm thinking the method could be on the Unicorn::Configurator class, something like ".at_timeout_exit". My thinking here is I want to be able to invoke caller() and get a backtrace to figure out the code that's resulting in timeouts. -- Alex Sharp github.com/ajsharp twitter.com/ajsharp alexjsharp.com _______________________________________________ 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