Jenkins Job (UI page in Dashboard) hangs

Hi, we have hosted the Jenkins2.375.1 in RHEL 8 Machine successfully and started the application.
and migrated the jenkins pipeline job from other instance to this setup. and job is running fine. when try to open the job page (UI page) from the Dashboard, it hangs (~10 mins). also query the job status from REST API, take long time to respond ~ 10 -12 mins, for the same operations in other instance response faster in less than few seconds. The JVM memory Xmx set to 4096 Xms set to 1024.

Hello, you could take a thread dump of the application while the loading occurs to get a better understanding of what’s blocking. Make sure to properly obfuscate the thread dump in case you post it here since it might contain confidential information.

when you say the dashboard, do you mean blueocean? or do you mean the standard core one?
Standard core doesn’t use rest apis, its all rendered server side. Blueocean has some huge performance issues, and, at least in my personal opinion, really recommended to be avoided as its essentially abandoned.

Hello @PierreBtz, As i cloud not upload the threaddump log,
“Handling GET /job/winvm-build-dev/ from 192.168.X.XX : Jetty (winstone)-118439 Job/index.jelly WorkflowJob/main.jelly” Id=118439 Group=main RUNNABLE (in native)
at java.base@11.0.17/java.net.PlainSocketImpl.socketConnect(Native Method)
at java.base@11.0.17/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412)
- locked java.net.SocksSocketImpl@167cd8ae
at java.base@11.0.17/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255)
at java.base@11.0.17/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237)
at java.base@11.0.17/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.base@11.0.17/java.net.Socket.connect(Socket.java:609)
at java.base@11.0.17/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:305)
at java.base@11.0.17/sun.net.NetworkClient.doConnect(NetworkClient.java:177)
at java.base@11.0.17/sun.net.www.http.HttpClient.openServer(HttpClient.java:507)
at java.base@11.0.17/sun.net.www.http.HttpClient.openServer(HttpClient.java:602)
- locked sun.net.www.protocol.https.HttpsClient@2344a424
at java.base@11.0.17/sun.net.www.protocol.https.HttpsClient.(HttpsClient.java:266)
at java.base@11.0.17/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:373)
at java.base@11.0.17/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:207)
at java.base@11.0.17/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1232)
at java.base@11.0.17/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1081)
at java.base@11.0.17/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:193)
at java.base@11.0.17/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1592)
- locked sun.net.www.protocol.https.DelegateHttpsURLConnection@5289a885
at java.base@11.0.17/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
- locked sun.net.www.protocol.https.DelegateHttpsURLConnection@5289a885
at java.base@11.0.17/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:250)
- locked sun.net.www.protocol.https.HttpsURLConnectionImpl@51046660
at org.jclouds.http.internal.JavaUrlHttpCommandExecutorService.invoke(JavaUrlHttpCommandExecutorService.java:100)
at org.jclouds.http.internal.JavaUrlHttpCommandExecutorService.invoke(JavaUrlHttpCommandExecutorService.java:66)
at org.jclouds.http.internal.BaseHttpCommandExecutorService.invoke(BaseHttpCommandExecutorService.java:98)
at org.jclouds.rest.internal.InvokeHttpMethod.invoke(InvokeHttpMethod.java:91)
at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:74)
at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:45)
at org.jclouds.rest.internal.DelegatesToInvocationFunction.handle(DelegatesToInvocationFunction.java:156)
at org.jclouds.rest.internal.DelegatesToInvocationFunction.invoke(DelegatesToInvocationFunction.java:123)
at com.sun.proxy.$Proxy124.getBucketLocation(Unknown Source)

Hello @halkeye, we are using standard core jenkins.
and using jenkins REST API to query the job status.

Hi, please help me, still i could not find route cause

I’m sorry but there isn’t much we can do with a copy of a single thread stack. Taking a thread dump and analysing it is probably your best option. There are very good tools out there to help you get started, like for instance https://fastthread.io, but in all honesty debugging performance issues require some work and you might want to look for a vendor that can offer you this service if you are blocked.