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: AS33070 50.56.128.0/17 X-Spam-Status: No, score=0.5 required=5.0 tests=AWL,RDNS_NONE shortcircuit=no autolearn=no version=3.3.2 X-Original-To: archivist@yhbt.net Delivered-To: archivist@dcvr.yhbt.net Received: from rubyforge.org (unknown [50.56.192.79]) by dcvr.yhbt.net (Postfix) with ESMTP id EA20D1FD63 for ; Thu, 24 Oct 2013 16:22:17 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 2D8452E1C5; Thu, 24 Oct 2013 16:22:18 +0000 (UTC) X-Original-To: mongrel-unicorn@rubyforge.org Delivered-To: mongrel-unicorn@rubyforge.org Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) by rubyforge.org (Postfix) with ESMTP id 2E1C92E17D for ; Thu, 24 Oct 2013 16:17:13 +0000 (UTC) Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 4933D1FD5F; Thu, 24 Oct 2013 16:17:11 +0000 (UTC) Date: Thu, 24 Oct 2013 16:17:11 +0000 From: Eric Wong To: unicorn list Subject: Re: Forking non web processes Message-ID: <20131024161711.GA15219@dcvr.yhbt.net> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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 Sam Saffron wrote: > Hi Eric, > > I have been trying to get unicorn to allow me to fork off non-web > processes like sidekiq/resque. > > I got this working, except that I am constantly fighting with the > unicorn reaper. Any chance we can add some sort of api to fork off non > web processes? It helps save memory and cut down on master processes. I've been trying to avoid adding unicorn-specific APIs unless absolutely necessary. You're forking off from the master? Worst case is you'll get a log message about an unknown process, right? I'm also wondering why... sidekiq/resque are standalone daemons themselves. Shouldn't that be done as part of the deploy/init process? (unicorn isn't going to become init/upstart/systemd) _______________________________________________ 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