Translate

Friday 11 March 2016

Shahed

OBIEE 12c Linux Slow Startup and Shutdown using Delivered Scripts

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.

Note: only a member of this blog may post a comment.



About Authors

Shahed Munir

Krishna Udathu

Shahed and Krishna are Oracle / Big Data Experts