{"id":8219,"date":"2015-11-29T05:27:57","date_gmt":"2015-11-29T09:27:57","guid":{"rendered":"http:\/\/onlineappsdba.com\/?p=8219"},"modified":"2015-12-02T06:30:23","modified_gmt":"2015-12-02T10:30:23","slug":"running-oracle-weblogic-server-on-linux-did-you-check-enropy","status":"publish","type":"post","link":"https:\/\/onlineappsdba.com\/index.php\/2015\/11\/29\/running-oracle-weblogic-server-on-linux-did-you-check-enropy\/","title":{"rendered":"Running Oracle Weblogic Server on Linux ? Did you check Entropy"},"content":{"rendered":"<p>This post covers <strong>performance issue<\/strong> (Admin Console taking ages while accessing) and is <strong>must read\u00a0<\/strong>if you are running WebLogic Server on Linux.<\/p>\n<p>We encountered this issue while managing Fusion Middleware (with WebLogic) for one of our customer where accessing Admin Console was very Slow and there were no errors in log (memory and CPU were just fine).<\/p>\n<p><strong><span style=\"text-decoration: underline;\">A Brief decsription about Entropy on linux Platform<\/span><\/strong>:<\/p>\n<p>An Operating System performs <strong>cryptographic operations<\/strong> at every time (on ssh challenges, https connections, etc.) .<br \/>\nLinux has <strong>two devices<\/strong> to provide random data at any time: <strong>\/dev\/random<\/strong> and <strong>\/dev\/urandom<\/strong>\u00a0so the \/dev\/random pool gets consumed quite fast with the cryptographic operations. This pool also gets consumed while performing I\/O operations, mouse,keyboard etc. and since, the Java uses \/dev\/random by default as entropy generator device that runs out of random bits and Therefore, makes us waiting for more time.<\/p>\n<p><span style=\"color: #ff0000;\">To learn about issues like this\u00a0Join our <strong><a style=\"color: #ff0000;\" href=\"http:\/\/www.k21technologies.com\/oracle-weblogic-admin-training\" target=\"_blank\">Oracle Weblogic Administration Training<\/a><\/strong>\u00a0<strong>\u00a0<\/strong>(next batch starts on 12th December 2015) where we also cover Oracle Certification for <a style=\"color: #ff0000;\" href=\"https:\/\/onlineappsdba.com\/index.php\/2014\/02\/23\/certification-oca-weblogic-server-12c-1z0-133-interested\/\" target=\"_blank\">WebLogic Administrators 1Z0-133<\/a>.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Cause:<\/strong><\/span><\/p>\n<p>After starting the WebLogic server instance the available Entropy on the system was substantially decreasing.<\/p>\n<p>Check the default system entropy using the command below:<br \/>\n<span style=\"color: #ff0000;\"># cat \/proc\/sys\/kernel\/random\/poolsize<\/span><br \/>\n4096<\/p>\n<p>Check the available entropy using th command below:<br \/>\n<span style=\"color: #ff0000;\"># cat \/proc\/sys\/kernel\/random\/entropy_avail<\/span><br \/>\n125<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Solution:<\/strong><\/span><\/p>\n<p><strong>1.<\/strong> <span style=\"color: #ff0000;\">Temporary Fix<\/span>:<\/p>\n<p><strong>a.<\/strong> Override the JAVA_OPTIONS environment variable before starting WebLogic Server via shell scripts (.\/startWeblogic.sh)<\/p>\n<p><strong>export JAVA_OPTIONS=&#8221;${JAVA_OPTIONS} -Djava.security.egd=file:\/dev\/.\/urandom&#8221;<\/strong><\/p>\n<p><strong>b.<\/strong> Start Weblogic server instance<br \/>\n<strong>.\/startWeblogic.sh<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>2.<\/strong> <span style=\"color: #ff0000;\">Permanent Fix<\/span>:<\/p>\n<p>a.\u00a0Edit the Java Security Properties file located in <strong>$JAVA_HOME\/jre\/lib\/security\/java.security<\/strong> and change the securerandom.source property which points to \/dev\/random (by default).\u00a0set it as:<\/p>\n<p><strong> securerandom.source=file:\/dev\/.\/urandom<\/strong><\/p>\n<p>b. Save the changes and Start WebLogic server<\/p>\n<p>&nbsp;<\/p>\n<p>If you want to learn more issues like above or wish to discuss challenges you are hitting in Oracle Weblogic Server, register for our <a href=\"http:\/\/www.k21technologies.com\/oracle-weblogic-admin-training\" target=\"_blank\"><strong>Oracle Weblogic Administration\u00a0<\/strong><strong>Training<\/strong>.<\/a><\/p>\n<p><span style=\"color: #ff0000;\">We are so confident on quality and value of our training that We provide <strong>100% Money back guarantee<\/strong> so in unlikely case of you being not happy after 2 sessions, just drop us a mail before third session and We\u2019ll refund FULL money.<\/span><\/p>\n<p>Did you subscribe to our <a href=\"https:\/\/www.youtube.com\/channel\/UCRgn-SAQZa4I41zLH03LoOQ?sub_confirmation=1\" target=\"_blank\">YouTube Channel<\/a>\u00a0(435 already subscribed) and <a href=\"https:\/\/www.facebook.com\/groups\/k21technologies\" target=\"_blank\">Private FaceBook Group<\/a>\u00a0(666 Members)\u00a0?<\/p>\n<p>&nbsp;<\/p>\n<div style=\"padding: 15px; margin-bottom: 15px; background: #ffffde; border: 1px solid #ddd; width: 85%;\" align=\"center\">\n<h2 align=\"left\">Learn Oracle Weblogic Server Administration<\/h2>\n<p>&nbsp;<\/p>\n<p>Get 100 USD OFF + 100% Money Back Guarantee<\/p>\n<p><a href=\"http:\/\/www.k21technologies.com\/oracle-weblogic-admin-training\" target=\"_blank\">Click here to get Early Bird Discounts<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This post covers performance issue (Admin Console taking ages while accessing) and is must read\u00a0if you are running WebLogic Server [&hellip;]<\/p>\n","protected":false},"author":115,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[217],"tags":[],"class_list":["post-8219","post","type-post","status-publish","format-standard","hentry","category-weblogic"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Running Oracle Weblogic Server on Linux ? Did you check Entropy -<\/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:\/\/onlineappsdba.com\/index.php\/2015\/11\/29\/running-oracle-weblogic-server-on-linux-did-you-check-enropy\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Running Oracle Weblogic Server on Linux ? Did you check Entropy -\" \/>\n<meta property=\"og:description\" content=\"This post covers performance issue (Admin Console taking ages while accessing) and is must read\u00a0if you are running WebLogic Server [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/onlineappsdba.com\/index.php\/2015\/11\/29\/running-oracle-weblogic-server-on-linux-did-you-check-enropy\/\" \/>\n<meta property=\"article:published_time\" content=\"2015-11-29T09:27:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-12-02T10:30:23+00:00\" \/>\n<meta name=\"author\" content=\"Masroof Ahmad\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Masroof Ahmad\" \/>\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\":\"WebPage\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2015\/11\/29\/running-oracle-weblogic-server-on-linux-did-you-check-enropy\/\",\"url\":\"https:\/\/onlineappsdba.com\/index.php\/2015\/11\/29\/running-oracle-weblogic-server-on-linux-did-you-check-enropy\/\",\"name\":\"Running Oracle Weblogic Server on Linux ? Did you check Entropy -\",\"isPartOf\":{\"@id\":\"https:\/\/onlineappsdba.com\/#website\"},\"datePublished\":\"2015-11-29T09:27:57+00:00\",\"dateModified\":\"2015-12-02T10:30:23+00:00\",\"author\":{\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\"},\"breadcrumb\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2015\/11\/29\/running-oracle-weblogic-server-on-linux-did-you-check-enropy\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/onlineappsdba.com\/index.php\/2015\/11\/29\/running-oracle-weblogic-server-on-linux-did-you-check-enropy\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2015\/11\/29\/running-oracle-weblogic-server-on-linux-did-you-check-enropy\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/onlineappsdba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Running Oracle Weblogic Server on Linux ? Did you check Entropy\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/onlineappsdba.com\/#website\",\"url\":\"https:\/\/onlineappsdba.com\/\",\"name\":\"\",\"description\":\"Oracle Implementation &amp; Training Experts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/onlineappsdba.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\",\"name\":\"Masroof Ahmad\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"caption\":\"Masroof Ahmad\"},\"url\":\"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Running Oracle Weblogic Server on Linux ? Did you check Entropy -","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:\/\/onlineappsdba.com\/index.php\/2015\/11\/29\/running-oracle-weblogic-server-on-linux-did-you-check-enropy\/","og_locale":"en_US","og_type":"article","og_title":"Running Oracle Weblogic Server on Linux ? Did you check Entropy -","og_description":"This post covers performance issue (Admin Console taking ages while accessing) and is must read\u00a0if you are running WebLogic Server [&hellip;]","og_url":"https:\/\/onlineappsdba.com\/index.php\/2015\/11\/29\/running-oracle-weblogic-server-on-linux-did-you-check-enropy\/","article_published_time":"2015-11-29T09:27:57+00:00","article_modified_time":"2015-12-02T10:30:23+00:00","author":"Masroof Ahmad","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Masroof Ahmad","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/onlineappsdba.com\/index.php\/2015\/11\/29\/running-oracle-weblogic-server-on-linux-did-you-check-enropy\/","url":"https:\/\/onlineappsdba.com\/index.php\/2015\/11\/29\/running-oracle-weblogic-server-on-linux-did-you-check-enropy\/","name":"Running Oracle Weblogic Server on Linux ? Did you check Entropy -","isPartOf":{"@id":"https:\/\/onlineappsdba.com\/#website"},"datePublished":"2015-11-29T09:27:57+00:00","dateModified":"2015-12-02T10:30:23+00:00","author":{"@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb"},"breadcrumb":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2015\/11\/29\/running-oracle-weblogic-server-on-linux-did-you-check-enropy\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/onlineappsdba.com\/index.php\/2015\/11\/29\/running-oracle-weblogic-server-on-linux-did-you-check-enropy\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/onlineappsdba.com\/index.php\/2015\/11\/29\/running-oracle-weblogic-server-on-linux-did-you-check-enropy\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/onlineappsdba.com\/"},{"@type":"ListItem","position":2,"name":"Running Oracle Weblogic Server on Linux ? Did you check Entropy"}]},{"@type":"WebSite","@id":"https:\/\/onlineappsdba.com\/#website","url":"https:\/\/onlineappsdba.com\/","name":"","description":"Oracle Implementation &amp; Training Experts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/onlineappsdba.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb","name":"Masroof Ahmad","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","caption":"Masroof Ahmad"},"url":"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/"}]}},"_links":{"self":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/8219","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/users\/115"}],"replies":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/comments?post=8219"}],"version-history":[{"count":0,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/8219\/revisions"}],"wp:attachment":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/media?parent=8219"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/categories?post=8219"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/tags?post=8219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}