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=-3.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 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 A4B541F45D; Fri, 14 Nov 2014 07:19:22 +0000 (UTC) Date: Fri, 14 Nov 2014 07:19:22 +0000 From: Eric Wong To: Roberto Cordoba del Moral Cc: unicorn-public@bogomips.org Subject: Re: Issue with Unicorn: Big latency when getting a request Message-ID: <20141114071922.GA10410@dcvr.yhbt.net> References: <20141113210332.GA13597@dcvr.yhbt.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: Roberto Cordoba del Moral wrote: > Hi Eric, > nothing in my Nginx error.log. > If I point my browser directly to my endpoint by localhost:8080/getTranslationLanguages I get the results in json format in my browser inmediately (with no latencies). This is working fine. > Thanks for your support.Roberto. So the issue is with nginx communicating with unicorn, and not unicorn itself. Can you crank up the verbosity of nginx logging and/or strace an nginx worker to see what's going on? (only configure nginx to use one worker to guarantee you're stracing right one). Again, please do not send HTML or top-post. We adhere to old-fashioned mailing list posting conventions here. Thanks.