{"id":9103,"date":"2016-12-20T10:13:38","date_gmt":"2016-12-20T09:13:38","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/documentum-story-add-the-java-urandom-inside-the-wlst-sh-script-to-improve-the-performance-of-all-wlst-sessions\/"},"modified":"2016-12-20T10:13:38","modified_gmt":"2016-12-20T09:13:38","slug":"documentum-story-add-the-java-urandom-inside-the-wlst-sh-script-to-improve-the-performance-of-all-wlst-sessions","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/documentum-story-add-the-java-urandom-inside-the-wlst-sh-script-to-improve-the-performance-of-all-wlst-sessions\/","title":{"rendered":"Documentum story \u2013 Add the Java urandom inside the wlst.sh script to improve the performance of all WLST sessions"},"content":{"rendered":"<p>WebLogicServer takes a long time (e.g. over 15 minutes) to startup. Can the performance be improved?<br \/>\nUsing \/dev\/urandom option in the Weblogic Java Virtual Machine parameters from startup script, can be the solution.<br \/>\nIn fact, \/dev\/random is a blocking device and during times of low entropy (when there is not enough random bits left in it), \/dev\/random will block any processes reading from it (and hence hang) until more random bits have been generated.<br \/>\nSo, if you are running some custom WLST scripts to startup your Weblogic infrastructure, you have to know that there are a few things you could try to improve performance.<\/p>\n<p>This change allows to improve the performances of your WLST sessions.. There is no functional impact to modify the wlst.sh script.<\/p>\n<p>1- Login to the Weblogic Server.<br \/>\n2- Use the Unix (installation owner) account:<br \/>\n3- Go to the following directory using:<\/p>\n<pre class=\"brush: shell; gutter: true; first-line: 1\">cd $ORACLE_HOME\/oracle_common\/common\/bin<\/pre>\n<p>4- Edit the <strong>wlst.sh<\/strong> script with vi editor<br \/>\n5- Add the following option in JVM_ARGS<\/p>\n<pre class=\"brush: shell; gutter: true; first-line: 1\"> JVM_ARGS=\"-Dprod.props.file='${WL_HOME}'\/.product.properties ${WLST_PROPERTIES} ${JVM_D64} ${UTILS_MEM_ARGS} ${COMMON_JVM_ARGS} ${CONFIG_JVM_ARGS} -Djava.security.egd=file:\/\/\/dev\/.\/urandom\" <\/pre>\n<p>&nbsp;<br \/>\n&nbsp;<br \/>\n6- Please note that if you specifically want to reduce the load time in start time script, you can do It by providing :<\/p>\n<pre class=\"brush: shell; gutter: true; first-line: 1\">java weblogic.WLST -skipWLSModuleScanning &lt;script&gt;.py <\/pre>\n<p>It can be an advantage in some cases.<\/p>\n<h3>Others ways to increase performance of your WLS:<\/h3>\n<p>1- This blog deals with urandom parameter especially.<br \/>\nBe aware that you have another ways\u00a0 to tune well your Weblogic Server(s).<br \/>\nJust in order to give you an overview of all possible changes :<br \/>\nSet Java parameters in starting Weblogic Server script or directly in JAVA_OPTS:<br \/>\n\u2022\u00a0urandom (see above)<br \/>\n\u2022\u00a0java heap size :<br \/>\nFor higher performance throughput, set (if possible) the minimum java heap size equal to the maximum heap size. For example:<\/p>\n<pre class=\"brush: shell; gutter: true; first-line: 1\">\"$JAVA_HOME\/bin\/java\" -server \u2013Xms512m \u2013Xmx512m -classpath $CLASSPATH ... <\/pre>\n<p>&nbsp;<br \/>\n2- Think about the number of Work Managers you\u2019re really needed :<br \/>\nA default Work Manager might not be adapted to all application&#8217;s needs.<br \/>\nIn this case, you&#8217;ll have to create a custom Work Manager.<\/p>\n<p>3- Remember to have a good tuning regarding the stuck threads process detection.<br \/>\nIndeed, if WLS already detects when a thread process\u00a0 becomes a \u201cStuck\u201d thread, you have to know that the stuck status doesn\u2019t allow to finish the current work or accept a new one.<br \/>\nSo It impacts directly and quickly\u00a0 the performance of the machine.<br \/>\n&nbsp;<br \/>\n4- Don\u2019t forget the basics :\u00a0 Operating System tuning and\/or Network tuning<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WebLogicServer takes a long time (e.g. over 15 minutes) to startup. Can the performance be improved? Using \/dev\/urandom option in the Weblogic Java Virtual Machine parameters from startup script, can be the solution. In fact, \/dev\/random is a blocking device and during times of low entropy (when there is not enough random bits left in [&hellip;]<\/p>\n","protected":false},"author":40,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[525],"tags":[129,214,644],"type_dbi":[],"class_list":["post-9103","post","type-post","status-publish","format-standard","hentry","category-enterprise-content-management","tag-documentum","tag-java","tag-performance-tuning"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Documentum story \u2013 Add the Java urandom inside the wlst.sh script to improve the performance of all WLST sessions - dbi Blog<\/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.dbi-services.com\/blog\/documentum-story-add-the-java-urandom-inside-the-wlst-sh-script-to-improve-the-performance-of-all-wlst-sessions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Documentum story \u2013 Add the Java urandom inside the wlst.sh script to improve the performance of all WLST sessions\" \/>\n<meta property=\"og:description\" content=\"WebLogicServer takes a long time (e.g. over 15 minutes) to startup. Can the performance be improved? Using \/dev\/urandom option in the Weblogic Java Virtual Machine parameters from startup script, can be the solution. In fact, \/dev\/random is a blocking device and during times of low entropy (when there is not enough random bits left in [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/documentum-story-add-the-java-urandom-inside-the-wlst-sh-script-to-improve-the-performance-of-all-wlst-sessions\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2016-12-20T09:13:38+00:00\" \/>\n<meta name=\"author\" content=\"Middleware Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Middleware Team\" \/>\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.dbi-services.com\/blog\/documentum-story-add-the-java-urandom-inside-the-wlst-sh-script-to-improve-the-performance-of-all-wlst-sessions\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/documentum-story-add-the-java-urandom-inside-the-wlst-sh-script-to-improve-the-performance-of-all-wlst-sessions\/\"},\"author\":{\"name\":\"Middleware Team\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1\"},\"headline\":\"Documentum story \u2013 Add the Java urandom inside the wlst.sh script to improve the performance of all WLST sessions\",\"datePublished\":\"2016-12-20T09:13:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/documentum-story-add-the-java-urandom-inside-the-wlst-sh-script-to-improve-the-performance-of-all-wlst-sessions\/\"},\"wordCount\":409,\"commentCount\":0,\"keywords\":[\"Documentum\",\"Java\",\"Performance Tuning\"],\"articleSection\":[\"Enterprise content management\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/documentum-story-add-the-java-urandom-inside-the-wlst-sh-script-to-improve-the-performance-of-all-wlst-sessions\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/documentum-story-add-the-java-urandom-inside-the-wlst-sh-script-to-improve-the-performance-of-all-wlst-sessions\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/documentum-story-add-the-java-urandom-inside-the-wlst-sh-script-to-improve-the-performance-of-all-wlst-sessions\/\",\"name\":\"Documentum story \u2013 Add the Java urandom inside the wlst.sh script to improve the performance of all WLST sessions - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"datePublished\":\"2016-12-20T09:13:38+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/documentum-story-add-the-java-urandom-inside-the-wlst-sh-script-to-improve-the-performance-of-all-wlst-sessions\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/documentum-story-add-the-java-urandom-inside-the-wlst-sh-script-to-improve-the-performance-of-all-wlst-sessions\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/documentum-story-add-the-java-urandom-inside-the-wlst-sh-script-to-improve-the-performance-of-all-wlst-sessions\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Documentum story \u2013 Add the Java urandom inside the wlst.sh script to improve the performance of all WLST sessions\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1\",\"name\":\"Middleware Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"caption\":\"Middleware Team\"},\"url\":\"https:\/\/www.dbi-services.com\/blog\/author\/middleware-team\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Documentum story \u2013 Add the Java urandom inside the wlst.sh script to improve the performance of all WLST sessions - dbi Blog","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.dbi-services.com\/blog\/documentum-story-add-the-java-urandom-inside-the-wlst-sh-script-to-improve-the-performance-of-all-wlst-sessions\/","og_locale":"en_US","og_type":"article","og_title":"Documentum story \u2013 Add the Java urandom inside the wlst.sh script to improve the performance of all WLST sessions","og_description":"WebLogicServer takes a long time (e.g. over 15 minutes) to startup. Can the performance be improved? Using \/dev\/urandom option in the Weblogic Java Virtual Machine parameters from startup script, can be the solution. In fact, \/dev\/random is a blocking device and during times of low entropy (when there is not enough random bits left in [&hellip;]","og_url":"https:\/\/www.dbi-services.com\/blog\/documentum-story-add-the-java-urandom-inside-the-wlst-sh-script-to-improve-the-performance-of-all-wlst-sessions\/","og_site_name":"dbi Blog","article_published_time":"2016-12-20T09:13:38+00:00","author":"Middleware Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Middleware Team","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/documentum-story-add-the-java-urandom-inside-the-wlst-sh-script-to-improve-the-performance-of-all-wlst-sessions\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/documentum-story-add-the-java-urandom-inside-the-wlst-sh-script-to-improve-the-performance-of-all-wlst-sessions\/"},"author":{"name":"Middleware Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1"},"headline":"Documentum story \u2013 Add the Java urandom inside the wlst.sh script to improve the performance of all WLST sessions","datePublished":"2016-12-20T09:13:38+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/documentum-story-add-the-java-urandom-inside-the-wlst-sh-script-to-improve-the-performance-of-all-wlst-sessions\/"},"wordCount":409,"commentCount":0,"keywords":["Documentum","Java","Performance Tuning"],"articleSection":["Enterprise content management"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/documentum-story-add-the-java-urandom-inside-the-wlst-sh-script-to-improve-the-performance-of-all-wlst-sessions\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/documentum-story-add-the-java-urandom-inside-the-wlst-sh-script-to-improve-the-performance-of-all-wlst-sessions\/","url":"https:\/\/www.dbi-services.com\/blog\/documentum-story-add-the-java-urandom-inside-the-wlst-sh-script-to-improve-the-performance-of-all-wlst-sessions\/","name":"Documentum story \u2013 Add the Java urandom inside the wlst.sh script to improve the performance of all WLST sessions - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"datePublished":"2016-12-20T09:13:38+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1"},"breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/documentum-story-add-the-java-urandom-inside-the-wlst-sh-script-to-improve-the-performance-of-all-wlst-sessions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/documentum-story-add-the-java-urandom-inside-the-wlst-sh-script-to-improve-the-performance-of-all-wlst-sessions\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/documentum-story-add-the-java-urandom-inside-the-wlst-sh-script-to-improve-the-performance-of-all-wlst-sessions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Documentum story \u2013 Add the Java urandom inside the wlst.sh script to improve the performance of all WLST sessions"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1","name":"Middleware Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","caption":"Middleware Team"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/middleware-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/9103","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=9103"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/9103\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=9103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=9103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=9103"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=9103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}