Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Problem

If you experience that local analyses in Unix/Linux platforms are very slow, or a long stop before Kiuwan Local Analyzer tries to upload your analysis results to Kiuwan, it is possible that your environment is affected by a well-known bug in some Java Virtual Machines running under UNIX platforms.

The library used for random number generation in Sun's JVM relies on /dev/random by default for UNIX platforms. This can potentially block the JVM : on on some operating systems /dev/random waits for a certain amount of "noise" to be generated on the host machine before returning a result.

Although Oracle states that this problem has been fixed from Java 6 version, we have been reported that this problem also appears in newer JVM versions like Java 8.

Solution

...

bgColor#fff

Follow these steps to fix this problem:

  1. Exit Kiuwan Local Analyzer.
  2. Open the $JAVA_HOME/jre/lib/security/java.security file in a text editor.
  3. Look for the line where securerandom.source property is set.
  4. Change its value from file:/dev/random to file:/dev/urandom
  5. Save your change and exit the text editor.
  6. Run Kiuwan Local Analyzer again.

On some machines, this workaround may not work. If this is your case, try changing the value of the securerandom.source property to:

file:/dev/./urandom

Content by Label
showLabelsfalse
max5
spacesK5
showSpacefalse
sortmodifiedshowSpacefalse
reversetrue
typepage
labelskb-troubleshooting-article

...