[chef] webui slow on login


Chronological Thread 
  • From: KC Braunschweig < >
  • To:
  • Subject: [chef] webui slow on login
  • Date: Fri, 24 Feb 2012 13:48:04 -0800
  • Authentication-results: mr.google.com; spf=pass (google.com: domain of designates 10.112.48.65 as permitted sender) ; dkim=pass

My chef server is mostly performing fine, but there seems to be a
consistent 20-30 second hang when loading the webui initially. It is
better after you've logged in and loaded the first page. Has anyone
seen this that can point me in the right direction? My users aren't
thrilled with the experience.

This is chef server 0.10.4 served via unicorn (server and webui) with
an nginx proxy. All on one VM.  Here are a couple examples where you
can see the action_time is over 20 seconds. Seems to always be on the
same action/controller. As noted, most other commands have an
action_time consistently under 1 second.

unicorn-webui.stdout.log.9.gz: ~ Started request handling: Wed Feb 15
15:30:29 -0800 2012
unicorn-webui.stdout.log.9.gz: ~ Params: {"action"=>"index",
"controller"=>"nodes"}
unicorn-webui.stdout.log.9.gz: ~ {:dispatch_time=>23.639048,
:before_filters_time=>0.11601, :action_time=>23.638479,
:after_filters_time=>1.3e-05}
unicorn-webui.stdout.log.9.gz:--
unicorn-webui.stdout.log.9.gz:
unicorn-webui.stdout.log.9.gz: ~ Started request handling: Wed Feb 15
16:31:36 -0800 2012
unicorn-webui.stdout.log.9.gz: ~ Params: {"action"=>"index",
"controller"=>"nodes"}
unicorn-webui.stdout.log.9.gz: ~ {:dispatch_time=>24.572686,
:before_filters_time=>0.116543, :action_time=>24.572283,
:after_filters_time=>0.000126}
unicorn-webui.stdout.log.9.gz:--
unicorn-webui.stdout.log.9.gz:
unicorn-webui.stdout.log.9.gz: ~ Started request handling: Wed Feb 15
17:42:09 -0800 2012
unicorn-webui.stdout.log.9.gz: ~ Params: {"format"=>nil,
"action"=>"index", "controller"=>"nodes"}
unicorn-webui.stdout.log.9.gz: ~ {:dispatch_time=>24.371573,
:before_filters_time=>0.392109, :action_time=>24.371188,
:after_filters_time=>2.7e-05}

Thanks,

KC



Archive powered by MHonArc 2.6.16.

§