Slow loading of job configuration page after Jenkins upgrade

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Slow loading of job configuration page after Jenkins upgrade

t3knoid
I've recently upgraded Jenkins and plug-ins. After doing so, now every job configuration page loads very slow. Some at least 7-8 minutes. I've read that I need to profile the running java process with something like jstack to see which thread is taking a long time to complete. I tried that and I am at a lost as how to interpret the stack. This happened after updating to v2.87 and some of the plugins. I know this info is not much help, but I'd appreciate how can I go about getting more info on how to troubleshoot this.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/10863a1b-4985-40a0-bec4-c0f5f69eeea6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Slow loading of job configuration page after Jenkins upgrade

t3knoid
BTW, the slow load also happens when creating a new free style project or a maven project. However, the slowness does not appear creating a pipeline project.

On Friday, November 3, 2017 at 2:42:01 PM UTC-4, t3knoid wrote:
I've recently upgraded Jenkins and plug-ins. After doing so, now every job configuration page loads very slow. Some at least 7-8 minutes. I've read that I need to profile the running java process with something like jstack to see which thread is taking a long time to complete. I tried that and I am at a lost as how to interpret the stack. This happened after updating to v2.87 and some of the plugins. I know this info is not much help, but I'd appreciate how can I go about getting more info on how to troubleshoot this.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/7156061b-2965-437f-9abf-8cc66c911e01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Slow loading of job configuration page after Jenkins upgrade

Robert Hales
In reply to this post by t3knoid
I would look into your gc, first. Does jenkins write a garbage collection log? I don't remember. You may need to just give it more memory. 

On Friday, November 3, 2017 at 12:42:01 PM UTC-6, t3knoid wrote:
I've recently upgraded Jenkins and plug-ins. After doing so, now every job configuration page loads very slow. Some at least 7-8 minutes. I've read that I need to profile the running java process with something like jstack to see which thread is taking a long time to complete. I tried that and I am at a lost as how to interpret the stack. This happened after updating to v2.87 and some of the plugins. I know this info is not much help, but I'd appreciate how can I go about getting more info on how to troubleshoot this.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0ed3afb5-a77f-46cb-81c1-c1d719913c24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Slow loading of job configuration page after Jenkins upgrade

t3knoid
Not sure about the gc log. I thought it was a memory issue first. So I increased memory but that did not make a difference. I see the issue on other installations as well. This must be something to do with a plug-in. I am going to roll back and see if the behavior goes back to normal.

On Friday, November 3, 2017 at 10:03:52 PM UTC-4, Robert Hales wrote:
I would look into your gc, first. Does jenkins write a garbage collection log? I don't remember. You may need to just give it more memory. 

On Friday, November 3, 2017 at 12:42:01 PM UTC-6, t3knoid wrote:
I've recently upgraded Jenkins and plug-ins. After doing so, now every job configuration page loads very slow. Some at least 7-8 minutes. I've read that I need to profile the running java process with something like jstack to see which thread is taking a long time to complete. I tried that and I am at a lost as how to interpret the stack. This happened after updating to v2.87 and some of the plugins. I know this info is not much help, but I'd appreciate how can I go about getting more info on how to troubleshoot this.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6b6ea5bd-9852-44be-a149-9dfc51d4410f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Slow loading of job configuration page after Jenkins upgrade

Daniel Beck
In reply to this post by t3knoid

> On 3. Nov 2017, at 19:42, t3knoid <[hidden email]> wrote:
>
>  I tried that and I am at a lost as how to interpret the stack. This happened after updating to v2.87 and some of the plugins. I know this info is not much help, but I'd appreciate how can I go about getting more info on how to troubleshoot this.

Go to the /threadDump URL in Jenkins while the config page is loading in another tab, and post its output to gist or similar.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/02F72EF9-4CD8-4357-9C8D-8DC63ACB0349%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Slow loading of job configuration page after Jenkins upgrade

t3knoid
Here's a thread dump shared in gist:

https://gist.github.com/t3knoid/398bd00684ea5841c223ebcfed8a1c44


On Tuesday, November 7, 2017 at 3:14:49 PM UTC-5, Daniel Beck wrote:

> On 3. Nov 2017, at 19:42, t3knoid <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="1W5DlcVoAQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">t3k...@...> wrote:
>
>  I tried that and I am at a lost as how to interpret the stack. This happened after updating to v2.87 and some of the plugins. I know this info is not much help, but I'd appreciate how can I go about getting more info on how to troubleshoot this.

Go to the /threadDump URL in Jenkins while the config page is loading in another tab, and post its output to gist or similar.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b4bdee42-45fe-4845-8d58-9f8471d8e071%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.