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.

On Thursday, September 8, 2016 at 5:22:35 PM UTC+10, James Dumay wrote:
>
> 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 
>    
> <https://confluence.atlassian.com/kb/generating-har-files-and-analysing-web-requests-720420612.html>
>  
>    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 (
> [email protected]) 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
>
> On Thursday, September 8, 2016 at 4:03:24 PM UTC+10, midn wrote:
>>
>> 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.
>> *Link* - 
>> https://JENKINSHOST/blue/rest/search/?q=type:pipeline;excludedFromFlattening:jenkins.branch.MultiBranchProject,hudson.matrix.MatrixProject&filter=no-folders&start=0&limit=26
>> *Time* - 2.10s
>>
>> *Link *- https://JENKINSHOST/sse-gateway/configure?batchId=1
>> *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.
>> *Link* - 
>> https://JENKINSHOST/blue/rest/search/?q=type:pipeline;organization:jenkins;excludedFromFlattening:jenkins.branch.MultiBranchProject,hudson.matrix.MatrixProject&filter=no-folders&start=0&limit=26
>> *Time* - 2.24s
>>
>> 3. Open details of single build, take around ~10 seconds.
>> *Link* - 
>> https://JENKINSHOST/blue/rest/organizations/jenkins/pipelines/NAME/branches/feature%252FXXXXXX/runs/4/
>> *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
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/a4dbd5d1-2c46-4717-8b59-514b6602be62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to