OBIEE 12c Slow Startup and Shutdown within Linux
When the entropy pool is low, then the OS needs to add bytes back to the pool. This can be a blocking operation and cause hangs or slowness when performing such tasks such as using nodemanger, starting Weblogic, etc
Check the default system entropy pool
$ cat /proc/sys/kernel/random/poolsize
4096
Check the currently available entropy pool
$ cat /proc/sys/kernel/random/entropy_avail
396
If below 500 then it will be slow…..
How can I add to the entropy pool to resolve this issue?
You Can Download rngd if not installed using Yum install
You can run ‘rngd’, which adds random bytes to /dev/random using /dev/urandom as the source.
As the ‘root’ user execute:
Note: you may need to install rng-tools.x86_64 before you can execute it.
rngd -r /dev/urandom -o /dev/random -b
You can configure it permanently by adding the following to /etc/sysconfig/rngd :
EXTRAOPTIONS=”-i -r /dev/urandom -o /dev/random -b -t 60 -W 4096″
This will generate to the entropy pool ever 60 seconds until the size is 4096. You can change to the desired time and size with the ‘-t’ (time) and ‘-W’ (size) parameters.
Conclusion
With the entropy settings in place it almost halfs the time OBIEE takes to Start and Shutdown so convinient when your changing weblogic or EM settings.
References
Use this guide to configure RNG service on Linux machines
Oracle Notes
OBIEE 12c FAQ: Why Does The start.sh | stop.sh | status.sh Script Run Slow? (Doc ID 2069626.1)
although this note is 12c specific it could well benefit 11g environments too
OBIEE 12c: Best Practices Guide for Infrastructure Tuning Oracle® Business Intelligence Enterprise Edition 12c (12.2.1) (Doc ID 2106183.1)
OBIEE 11g Infrastructure Performance Tuning Guide (Doc ID 1333049.1)