From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS6939 64.71.128.0/18 X-Spam-Status: No, score=-1.9 required=3.0 tests=AWL,BAYES_00, MSGID_FROM_MTA_HEADER shortcircuit=no autolearn=unavailable version=3.3.2 Path: news.gmane.org!not-for-mail From: Eric Wong Newsgroups: gmane.comp.lang.ruby.raindrops.general Subject: Re: Socket & Symlinks Date: Mon, 4 Jun 2012 18:12:50 +0000 Message-ID: <20120604181250.GA8696@dcvr.yhbt.net> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1338833590 9422 80.91.229.3 (4 Jun 2012 18:13:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 4 Jun 2012 18:13:10 +0000 (UTC) To: raindrops@librelist.org Original-X-From: raindrops@librelist.org Mon Jun 04 20:13:06 2012 Return-path: Envelope-to: gclrrg-raindrops@m.gmane.org List-Archive: List-Help: List-Id: List-Post: List-Subscribe: List-Unsubscribe: Precedence: list Original-Sender: raindrops@librelist.org Xref: news.gmane.org gmane.comp.lang.ruby.raindrops.general:74 Archived-At: Received: from zedshaw.xen.prgmr.com ([64.71.167.205]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Sbblx-0001Ks-0O for gclrrg-raindrops@m.gmane.org; Mon, 04 Jun 2012 20:12:57 +0200 Received: from zedshaw.xen.prgmr.com (localhost [IPv6:::1]) by zedshaw.xen.prgmr.com (Postfix) with ESMTP id 11A6E21DDA2 for ; Mon, 4 Jun 2012 18:20:55 +0000 (UTC) Brian Corrigan wrote: > Hi Folks - > > After trying to figure out why I always get 0 for both active and > queued stats, I noticed the unix_listener_stats method doesn't resolve > symlinks (which are common due to the way a lot of deployment recipes > deploy rails apps) prior to looking up the socket in the proc file. > > I was considering a small patch that would require the standard > pathname library and resolve each path prior to encoding them. Would > this be accepted? I'd have to see the patch, but the idea sounds good.