[Blue Ocean] Slow page-loading

1,333 views
Skip to first unread message

midn

unread,
Sep 8, 2016, 2:03:24 AM9/8/16
to Jenkins Developers
Hello!

I'm using latest BlueOcean from *master* branch, currently updating on daily basis.
I have a strange problem, most of the pages are loading veeeery slowly compared to https://ci.blueocean.io/blue ( I cannot access it now sadly for some reason. )
I see no errors/issues regarding why it could be so slow in Jenkins logs or Nginx logs.

I'm running Jenkins 2.7.2 on Docker on a 16gb mem, 4cpu instance.
Currently the only Pipeline project i have is Multibranch with around ~10 active branches. Project is set to keep only 10 builds for each branch.

Slow examples:
1. Main dashboard - All projects to load takes about ~3 seconds, total around ~20 projects.
Time - 2.10s

Time - 5.18s

2. Open link to my only Multibranch Pipeline Project, takes about ~10sec to load activity, even though activity shows some file was loaded in ~3 seconds, another 7 seconds it was doing something else, network activity didnt show any new changes.
Time - 2.24s

3. Open details of single build, take around ~10 seconds.
Time - 10.87s

Sometimes it seems like to caches some pages and then opening details becomes fast for some, for some it's still extremely slow.
If i compared to https://ci.blueocean.io/blue ( Which i cannot access now :grin: ), blueoceans page was instant on the clicks with much more Activity/Projects.

Any ideas what could be wrong, maybe some Limits in NGINX or Jenkins since BlueOcean is doing quite a lot of requests?
Any help appreciated 

Regards,
Andres


James Dumay

unread,
Sep 8, 2016, 3:22:35 AM9/8/16
to Jenkins Developers
Hi Andreas,

Hmm, that doesn't sound great. Could you try accessing Blue Ocean without the proxy and see if it exhibits the same behaviour?

If its not your proxy we will need a few things to help diagnose this:
  • Thread dump - "kill -3 $JENKINS_PID" should do the trick and spit the thread dump into your Jenkins log
  • Generate a HAR file of the request for the dashboard from start to finish. There's a good guide for doing this in your browser of choice.
  • Info about your instance (number of Jobs, version of Jenkins)
  • Browser versions
If you can send me the Jenkins server log and the HAR file (jdu...@cloudbees.com) I can get one of the CloudBees engineers to take a look tomorrow.

Regardless its to see you so enthusiastically trying Blue Ocean :)

Thanks,
James

James Dumay

unread,
Sep 8, 2016, 3:23:59 AM9/8/16
to Jenkins Developers
Actually, if you can repeat that thread dump command every 5 seconds starting from a few moments before you request the dashboard and after that would give us a better trace.

James Dumay

unread,
Sep 8, 2016, 3:24:36 AM9/8/16
to Jenkins Developers
Or every second by the looks of that timing info.

James Dumay

unread,
Sep 8, 2016, 6:40:41 PM9/8/16
to Jenkins Developers
Thanks for sending the info through Andreas. You can keep up to date on its status by watching this ticket https://issues.jenkins-ci.org/browse/JENKINS-38079 
Reply all
Reply to author
Forward
0 new messages