unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Roberto Cordoba del Moral <roberto.chingon@hotmail.com>
To: Eric Wong <e@80x24.org>
Cc: "unicorn-public@bogomips.org" <unicorn-public@bogomips.org>
Subject: RE: Issue with Unicorn: Big latency when getting a request
Date: Fri, 14 Nov 2014 11:15:31 +0100	[thread overview]
Message-ID: <DUB126-W9CD3FCC431C95BE111D82F88C0@phx.gbl> (raw)
In-Reply-To: <DUB126-W9519F731D096B8E3CEF4FF88C0@phx.gbl>

[-- Attachment #1: Type: text/plain, Size: 2392 bytes --]

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 <roberto.chingon@hotmail.com> 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...
 		 	   		   		 	   		  

[-- Attachment #2: Type: text/plain, Size: 2507 bytes --]

   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 <roberto.chingon@hotmail.com> 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...

  reply	other threads:[~2014-11-14 10:15 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-12 19:46 Issue with Unicorn: Big latency when getting a request Roberto Cordoba del Moral
2014-11-13  7:12 ` Roberto Cordoba del Moral
2014-11-13 21:03   ` Eric Wong
2014-11-14  6:46     ` Roberto Cordoba del Moral
2014-11-14  7:19       ` Eric Wong
2014-11-14  9:09         ` Roberto Cordoba del Moral
2014-11-14  9:32           ` Roberto Cordoba del Moral
2014-11-14 10:02             ` Eric Wong
2014-11-14 10:12               ` Roberto Cordoba del Moral
2014-11-14 10:15                 ` Roberto Cordoba del Moral [this message]
2014-11-14 10:28                   ` Eric Wong
2014-11-14 10:51                     ` Roberto Cordoba del Moral
2014-11-14 11:03                       ` Eric Wong
2014-11-14 11:15                         ` Roberto Cordoba del Moral
2014-11-14 15:01                         ` Roberto Cordoba del Moral
2014-11-14 18:34                           ` Eric Wong
2014-11-14 22:36                             ` Roberto Cordoba del Moral

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://yhbt.net/unicorn/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DUB126-W9CD3FCC431C95BE111D82F88C0@phx.gbl \
    --to=roberto.chingon@hotmail.com \
    --cc=e@80x24.org \
    --cc=unicorn-public@bogomips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhbt.net/unicorn.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).