Jenkins become unresponsive

289 views
Skip to first unread message

Rupali

unread,
Oct 20, 2014, 7:46:29 AM10/20/14
to jenkins...@googlegroups.com
Hi,

We are facing one weird issue.
Intermittently, our Jenkins URL becomes inaccessible. Only restarting Jenkins service resolves the issue.

We are using Jenkins 1.565. We tried to analyses memory and CPU usage when such state appears. But CPU usage looked very low around 2% and memory usage by Jenkins Java process also was around 1.7 GB which is the case usually. We have Master-Slave setup containing 8 slave machines of which 2 slaves have dedicated jobs to run.

Can you advise on how to analyze this issue to find out the root cause of Jenkins becoming inaccessible?

Regards,
Rupali

Dunnigan, Terrence J

unread,
Oct 20, 2014, 5:19:21 PM10/20/14
to jenkins...@googlegroups.com

Are you using the Jenkins Monitoring plugin?

 

https://wiki.jenkins-ci.org/display/JENKINS/Monitoring

 

It might help to provide some context and additional information when Jenkins is not responding.

 

Terry

--
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 jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Rupali Chorghe

unread,
Oct 20, 2014, 11:11:21 PM10/20/14
to jenkins...@googlegroups.com

Hi Terrence,

Thanks for reply.
Problem we are facing is when Jenkins becomes unresponsive, everything that needs Jenkins URL, becomes inaccessible. So we decided to use Jconsole. But we didn't find abnormalities in CPU and memory usage when monitored using jconsole.

Regards,
Rupali

You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/FLJye7YDTr8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.

James Nord (jnord)

unread,
Oct 21, 2014, 6:35:31 AM10/21/14
to jenkins...@googlegroups.com

Are you on Linux and are you using the embedded container?

If so have you upped the number of file descriptors available from Jenkins – I have see in the past that is was not uncommon for the HTTP receiving thread to die due to not being able to handle a connection correctly.

 

Otherwise – jstack will likely be your friend – will show any deadlocks and show what threads are running.

 

/james

Rupali

unread,
Oct 22, 2014, 7:10:43 AM10/22/14
to jenkins...@googlegroups.com, jn...@cisco.com
Hi James,

Thanks for your reply.
We are using Windows server.
I will try jstack as you suggested and will post my findings.

Thanks,
Rupali

Isaac Cohen

unread,
Oct 28, 2014, 3:57:55 PM10/28/14
to jenkins...@googlegroups.com, jn...@cisco.com
Attached is a thread dump taken when jenkins was unresponsive. I couldnt find anything suspicious, but maybe I missed something?

Thanks,
Isaac
thread_dump_24OCT2014.txt

Daniel Beck

unread,
Oct 28, 2014, 4:03:55 PM10/28/14
to jenkins...@googlegroups.com
While the thread is not blocked, it still looks suspiciously like
http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7130796
> <thread_dump_24OCT2014.txt>

Message has been deleted
Message has been deleted
Message has been deleted

Cohen, Isaac S

unread,
Oct 28, 2014, 4:32:28 PM10/28/14
to jenkins...@googlegroups.com
David - Thanks for the quick reply. How did you come to this conclusion? Sorry, I am still new to thread dumps!
This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.
Message has been deleted
Message has been deleted
Message has been deleted

Rupali

unread,
Nov 21, 2014, 7:42:00 AM11/21/14
to jenkins...@googlegroups.com, isaac....@jpmorgan.com
Hi,

We are still facing this issue.
Attached are is the list of threads that were running when we found this issue.
The blocked thread do not look to be blocking on
sun.nio.ch.WindowsSelectorImpl.discardUrgentData()
as stated in the bug link here:http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7130796
Could you advise on what could be causing the issue?

Regards,
Rupali
threads.txt

Rupali

unread,
Nov 25, 2014, 10:46:20 AM11/25/14
to jenkins...@googlegroups.com
Hi,

Another instance of Jenkins hanging. Thread dump attached.
We are using Jenkins version 1.565
Can you advise what could be happening here?
Does Jenkins has any pause times where it becomes inaccessible?

Regards,
Rupali
threads_new.txt
Reply all
Reply to author
Forward
0 new messages