This has been a very frustrating problem. I’ve been working on a new client with some significant performance problems. The site is specified fairly well, it’s got its share of teething issues, but it just NOT performing. Tests are timing out all over the place. We load 100 users up and the results graphs are like a saw tooth, 90 seconds, 30 seconds, 90 seconds – unbelievable!
Do you have JD Edwards going slow? Having slow downs… CPU not moving, nothing moving – just users getting angry? Are you linux based web servers? read on!
Linux based WLS servers (RHEL) and linux enterprise server with windows batch.
Then I find the golden nugget from https://support.oracle.com, it’s like I’ve found “welcome stranger”.
Search for 1525645.1 on oracle, E1: OS: Linux Servers Hang or Have Delays on Any JAVA Process Affecting Performance (Doc ID 1525645.1)
At the end of the day, you either need to download a patch or fix java.security, for all editions of java on the machine.
Option 1:
securerandom.source=file:/dev/./urandom
Change the line above to equal the above.
Option 2:
To enable this service on Oracle Linux 6:
Install the rngd service with:
sudo yum install rng-tools
(The service may already be installed but not running)
Modify /etc/sysconfig/rngd file (as root), to use this configuration:
EXTRAOPTIONS="-i -o /dev/random -r /dev/urandom -t 10 -W 2048"
(The default value is an empty string: EXTRAOPTIONS="" )
Make the service start at boot with:
sudo chkconfig rngd on
(Re)start the service to take the configuration changes:
sudo service rngd restart
Once this fix was applied, WLS would start in 10 seconds, not 5 minutes and the JD web performance was 90% good (there was still a blip every 25 minutes), but I think fixing /usr/bin/java will sort this out.
No comments:
Post a Comment