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: AS8075 157.55.0.0/16 X-Spam-Status: No, score=-0.7 required=3.0 tests=AWL,BAYES_00,FREEMAIL_FROM, T_RP_MATCHES_RCVD,URIBL_BLOCKED shortcircuit=no autolearn=ham version=3.3.2 X-Original-To: unicorn-public@bogomips.org Received: from DUB004-OMC3S32.hotmail.com (dub004-omc3s32.hotmail.com [157.55.2.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 84719633805 for ; Fri, 14 Nov 2014 10:15:33 +0000 (UTC) Received: from DUB126-W9 ([157.55.2.8]) by DUB004-OMC3S32.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Fri, 14 Nov 2014 02:15:32 -0800 X-TMN: [dtC8rdLGhosTKNKj4MaKfGo+BEtq2o3F] X-Originating-Email: [roberto.chingon@hotmail.com] Message-ID: Content-Type: multipart/mixed; boundary="_4e75369a-8d5e-4853-b6d0-116bec2299b5_" From: Roberto Cordoba del Moral To: Eric Wong CC: "unicorn-public@bogomips.org" Subject: RE: Issue with Unicorn: Big latency when getting a request Date: Fri, 14 Nov 2014 11:15:31 +0100 Importance: Normal In-Reply-To: References: ,,<20141113210332.GA13597@dcvr.yhbt.net>,,<20141114071922.GA10410@dcvr.yhbt.net>,,,<20141114100208.GA7416@dcvr.yhbt.net>, MIME-Version: 1.0 X-OriginalArrivalTime: 14 Nov 2014 10:15:32.0166 (UTC) FILETIME=[EC2ECE60:01CFFFF3] X-Content-Filtered-By: PublicInbox::Filter 0.0.1 List-Id: --_4e75369a-8d5e-4853-b6d0-116bec2299b5_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I=B4m using the Google Chrome debugging tools. There you can see the getTra= nslationLanguages request which is WAITING for 12 seconds. But=2C anyway=2C= I don=B4t know the reason why. Please let my attach the screenshot.=0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= From: roberto.chingon@hotmail.com To: e@80x24.org CC: unicorn-public@bogomips.org Subject: RE: Issue with Unicorn: Big latency when getting a request Date: Fri=2C 14 Nov 2014 11:12:16 +0100 =0A= =0A= =0A= I have no idea about what can it be. I don=B4t see any blog=2C issue or pos= t on internet related to this. It=B4s strange this is only happening to me. Anyway=2C remember the issue is not happening when I replace Unicorn with w= ebRick. > Date: Fri=2C 14 Nov 2014 10:02:08 +0000 > From: e@80x24.org > To: roberto.chingon@hotmail.com > CC: unicorn-public@bogomips.org > Subject: Re: Issue with Unicorn: Big latency when getting a request >=20 > Roberto Cordoba del Moral wrote: > > Hi Eric=2C > > > > as you don=B4t like web. I don=B4t know if you read my latest updates. > > Please=2C find them attached. I don=B4t know if they could be helpful > > tracks. UPDATE: I don=B4t 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=B4t happen anymore. After > > that=2C if I just refresh the page=2C the issue happens. Thanks=2CRob= erto. >=20 > 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=2C too. >=20 > > I=B4m not pretty sure how to crank up the verbosity of nginx althoug= h > > I think I got it=2C because when I restart Nginx I get next logs: >=20 > Server debugging: >=20 > Uncomment one of your "error_log" lines in your nginx conf: >=20 > error_log logs/error.log debug=3B >=20 > (you can change the path=2C of course) >=20 > I suggest using your Ubuntu (or any GNU/Linux) test environment which > has strace. I cannot support any software on Darwin. >=20 > You may also use tcpdump/strace on your browser=2C too=2C but I suspect f= or > your case it'll be easier to use whatever debugging tools + > plugins/extensions your browser supports. >=20 > This really doesn't seem to be a unicorn or nginx bug=2C though... = --_4e75369a-8d5e-4853-b6d0-116bec2299b5_ Content-Type: text/plain Content-Transfer-Encoding: 8bit Date: Fri, 14 Nov 2014 11:15:31 +0100 Content-Disposition: inline I'm using the Google Chrome debugging tools. There you can see the getTranslationLanguages request which is WAITING for 12 seconds. But, anyway, I don't know the reason why. Please let my attach the screenshot. __________________________________________________________________ From: roberto.chingon@hotmail.com To: e@80x24.org CC: unicorn-public@bogomips.org Subject: RE: Issue with Unicorn: Big latency when getting a request Date: Fri, 14 Nov 2014 11:12:16 +0100 I have no idea about what can it be. I don't see any blog, issue or post on internet related to this. It's strange this is only happening to me. Anyway, remember the issue is not happening when I replace Unicorn with webRick. > Date: Fri, 14 Nov 2014 10:02:08 +0000 > From: e@80x24.org > To: roberto.chingon@hotmail.com > CC: unicorn-public@bogomips.org > Subject: Re: Issue with Unicorn: Big latency when getting a request > > 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... --_4e75369a-8d5e-4853-b6d0-116bec2299b5_--