{"id":2018,"date":"2017-12-07T08:42:42","date_gmt":"2017-12-07T08:42:42","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=2018"},"modified":"2021-02-27T09:29:32","modified_gmt":"2021-02-27T09:29:32","slug":"suddenly-started-hanging","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/suddenly-started-hanging\/","title":{"rendered":"Suddenly started hanging"},"content":{"rendered":"<p><strong>pasupuleti2 created the topic: Suddenly started hanging<\/strong><br \/>\nSuddenly jenkins started hanging. that keeps hanging every second. We have many projects in Jenkins. The jobs were running fine in the past. Yesterday I installed Perl plugins in jenkins and suddenly it started hanging. Nothing is dispalying.<\/p>\n<p>Please help me to resolve this issue without loosing old Jenkins projects, Script, configurations and build history.<\/p>\n<p>-Saritha<\/p>\n<p><strong>rajeshkumar replied the topic: Suddenly started hanging<\/strong><br \/>\nFirst, check if Jenkins responds to the HTTP requests. For example, if it does but it always shows &#8220;Please wait while Jenkins is getting ready to work&#8230;&#8221;, please tell that to us. If it doesn&#8217;t respond to requests at all, please tell that to us, too.<\/p>\n<p>The most common forms of hangups are:<\/p>\n<p>Jenkins shows &#8220;Please wait while Jenkins is getting ready to work&#8230;&#8221; for long time and it never comes up.<br \/>\nJenkins is not picking up HTTP requests, so all attempts to connect hang and no page is ever rendered. This is often caused by a dead lock.<br \/>\nJenkins runs out of heap space and goes into a fatal GC spiral.<\/p>\n<p>Either case, check the following steps to obtain further details:<\/p>\n<p>1. See Obtaining a thread dump and obtain a thread dump.<br \/>\nwiki.jenkins-ci.org\/display\/JENKINS\/Obtaining+a+thread+dump<br \/>\n2. Use jmap -heap to obtain the heap summary information. This is primarily to see if the system is in the GC spiral. If possible, add the -dump:format=b,file=heap.hprof option to obtain the full heap dump, or use kill -SIGABRT to generate the core dump. Send that to us and it&#8217;ll be lot easier for us to understand what&#8217;s going on.<br \/>\n<a href=\"http:\/\/download.oracle.com\/javase\/1,5.0\/docs\/tooldocs\/share\/jmap.html\">download.oracle.com\/javase\/1,5.0\/docs\/tooldocs\/share\/jmap.html <\/a><\/p>\n<p>Similarly, if the hang is the &#8220;Please wait while Jenkins is getting ready to work&#8230;&#8221; kind of hang, please repeat this process a few times with several minutes (or longer) interval and report them all.<\/p>\n<p>Source &#8211; <a href=\"http:\/\/wiki.jenkins-ci.org\/display\/JENKINS\/Jenkins+is+hanging\">wiki.jenkins-ci.org\/display\/JENKINS\/Jenkins+is+hanging<\/a><br \/>\nRegards,<br \/>\nRajesh Kumar<br \/>\nTwitt me @ <a href=\"http:\/\/twitter.com\/RajeshKumarIn\">twitter.com\/RajeshKumarIn<\/a><\/p>\n<p><strong>pasupuleti2 replied the topic: Suddenly started hanging<\/strong><br \/>\nRajesh,<\/p>\n<p>Tried jmap command. I got below message.<\/p>\n<p>C:\\Program Files\\Java\\jre7\\bin>jmap -dump:format=b,file=heapJMap.bin 7540<br \/>\n&#8216;jmap&#8217; is not recognized as an internal or external command,<br \/>\noperable program or batch file.<\/p>\n<p>C:\\Program Files\\Java\\jre7\\bin>JMap<br \/>\n&#8216;JMap&#8217; is not recognized as an internal or external command,<br \/>\noperable program or batch file.<\/p>\n<p>C:\\Program Files\\Java\\jre7\\bin>java -version<br \/>\njava version &#8220;1.7.0_51&#8221;<br \/>\nJava(TM) SE Runtime Environment (build 1.7.0_51-b13)<br \/>\nJava HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>pasupuleti2 created the topic: Suddenly started hanging Suddenly jenkins started hanging. that keeps hanging every second. We have many projects [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[428],"tags":[434],"class_list":["post-2018","post","type-post","status-publish","format-standard","hentry","category-jenkins-build-management-tools","tag-hanging"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Suddenly started hanging - scmGalaxy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.scmgalaxy.com\/tutorials\/suddenly-started-hanging\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Suddenly started hanging - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"pasupuleti2 created the topic: Suddenly started hanging Suddenly jenkins started hanging. that keeps hanging every second. We have many projects [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/suddenly-started-hanging\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:published_time\" content=\"2017-12-07T08:42:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-02-27T09:29:32+00:00\" \/>\n<meta name=\"author\" content=\"scmgalaxy K\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"scmgalaxy K\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/suddenly-started-hanging\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/suddenly-started-hanging\\\/\"},\"author\":{\"name\":\"scmgalaxy K\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\"},\"headline\":\"Suddenly started hanging\",\"datePublished\":\"2017-12-07T08:42:42+00:00\",\"dateModified\":\"2021-02-27T09:29:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/suddenly-started-hanging\\\/\"},\"wordCount\":435,\"commentCount\":0,\"keywords\":[\"hanging\"],\"articleSection\":[\"Jenkins\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/suddenly-started-hanging\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/suddenly-started-hanging\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/suddenly-started-hanging\\\/\",\"name\":\"Suddenly started hanging - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"datePublished\":\"2017-12-07T08:42:42+00:00\",\"dateModified\":\"2021-02-27T09:29:32+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/suddenly-started-hanging\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/suddenly-started-hanging\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/suddenly-started-hanging\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Suddenly started hanging\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\",\"name\":\"scmGalaxy\",\"description\":\"A Platform for Software Engineers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\",\"name\":\"scmgalaxy K\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"caption\":\"scmgalaxy K\"},\"sameAs\":[\"http:\\\/\\\/www.DevOpsSchool.com\"],\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/author\\\/scmgalaxy\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Suddenly started hanging - scmGalaxy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.scmgalaxy.com\/tutorials\/suddenly-started-hanging\/","og_locale":"en_US","og_type":"article","og_title":"Suddenly started hanging - scmGalaxy","og_description":"pasupuleti2 created the topic: Suddenly started hanging Suddenly jenkins started hanging. that keeps hanging every second. We have many projects [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/suddenly-started-hanging\/","og_site_name":"scmGalaxy","article_published_time":"2017-12-07T08:42:42+00:00","article_modified_time":"2021-02-27T09:29:32+00:00","author":"scmgalaxy K","twitter_card":"summary_large_image","twitter_misc":{"Written by":"scmgalaxy K","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/suddenly-started-hanging\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/suddenly-started-hanging\/"},"author":{"name":"scmgalaxy K","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102"},"headline":"Suddenly started hanging","datePublished":"2017-12-07T08:42:42+00:00","dateModified":"2021-02-27T09:29:32+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/suddenly-started-hanging\/"},"wordCount":435,"commentCount":0,"keywords":["hanging"],"articleSection":["Jenkins"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.scmgalaxy.com\/tutorials\/suddenly-started-hanging\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/suddenly-started-hanging\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/suddenly-started-hanging\/","name":"Suddenly started hanging - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"datePublished":"2017-12-07T08:42:42+00:00","dateModified":"2021-02-27T09:29:32+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/suddenly-started-hanging\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/suddenly-started-hanging\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/suddenly-started-hanging\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Suddenly started hanging"}]},{"@type":"WebSite","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website","url":"https:\/\/www.scmgalaxy.com\/tutorials\/","name":"scmGalaxy","description":"A Platform for Software Engineers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.scmgalaxy.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102","name":"scmgalaxy K","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","caption":"scmgalaxy K"},"sameAs":["http:\/\/www.DevOpsSchool.com"],"url":"https:\/\/www.scmgalaxy.com\/tutorials\/author\/scmgalaxy\/"}]}},"_links":{"self":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/2018","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/comments?post=2018"}],"version-history":[{"count":1,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/2018\/revisions"}],"predecessor-version":[{"id":2019,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/2018\/revisions\/2019"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=2018"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=2018"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=2018"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}