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: X-Spam-Status: No, score=-2.9 required=3.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: unicorn-public@bogomips.org Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 958791F89E; Thu, 9 Oct 2014 18:15:33 +0000 (UTC) Date: Thu, 9 Oct 2014 18:15:33 +0000 From: Eric Wong To: =?utf-8?Q?Br=C3=A1ulio?= Bhavamitra Cc: Devin Ben-Hur , Michael Fischer , unicorn-public@bogomips.org Subject: Re: Reserved workers not as webservers Message-ID: <20141009181533.GA8164@dcvr.yhbt.net> References: <5436C281.30309@whitepages.com> <20141009173420.GA2787@dcvr.yhbt.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: BrĂ¡ulio Bhavamitra wrote: > Eric, how with a simple monkey patch will allow a worker to not > connect with the kernel request queue? The listen socket is inherited by default. Closing it works. You can also keep the socket open and avoid calling any accept() wrappers, that is like a "pop" operation on the queue: kgio_tryaccept in unicorn, accept/accept_nonblock/sysaccept in stdlib Also, please don't top-post (or send giant sigs). Thanks.