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.1 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 B15D61FAF9; Fri, 14 Nov 2014 10:02:08 +0000 (UTC) Date: Fri, 14 Nov 2014 10:02:08 +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: <20141114100208.GA7416@dcvr.yhbt.net> References: <20141113210332.GA13597@dcvr.yhbt.net> <20141114071922.GA10410@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: Roberto Cordoba del Moral wrote: > Hi Eric, > > as you don´t like web. I don´t know if you read my latest updates. > Please, find them attached. I don´t know if they could be helpful > tracks. UPDATE: I don´t know why it seems to be related to cache or > cookies. When I delete browsing history with cache and cookies in my > browser and I load the site the issue doesn´t happen anymore. After > that, if I just refresh the page, the issue happens. Thanks,Roberto. It's probably something related to your frontend/Angular setup (which I know nothing about). Try disabling cookies + cache in your browser completely... Some browsers have extensions/plugins which can trace HTTP requests, too. > I´m not pretty sure how to crank up the verbosity of nginx although > I think I got it, because when I restart Nginx I get next logs: Server debugging: Uncomment one of your "error_log" lines in your nginx conf: error_log logs/error.log debug; (you can change the path, of course) I suggest using your Ubuntu (or any GNU/Linux) test environment which has strace. I cannot support any software on Darwin. You may also use tcpdump/strace on your browser, too, but I suspect for your case it'll be easier to use whatever debugging tools + plugins/extensions your browser supports. This really doesn't seem to be a unicorn or nginx bug, though...