My Oracle Support Banner

Weblogic server process is forked on startup (Doc ID 1395566.1)

Last updated on SEPTEMBER 28, 2020

Applies to:

Oracle WebLogic Server - Version 9.2 and later
Oracle Access Manager - Version 11.1.1.3.0 and later
Linux x86

Symptoms

WebLogic process is forked after the startup. In that scenario multiple processes are created simultaneously.

Following output is the result of the command "ps aux|grep weblogic"

oracle PID2PID1 09:30 00:00:02 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle PID3 PID2 09:30 00:00:00 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32239 PID3 09:30 00:00:05 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32240 PID3 09:30 00:00:00 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32241 PID3 09:30 00:00:00 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32242 PID3 09:30 00:00:00 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32243 PID3 09:30 00:00:01 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32244 PID3 09:30 00:00:00 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32245 PID3 09:30 00:00:00 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32247 PID3 09:30 00:00:00 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32248 PID3 09:30 00:00:32 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32249 PID3 09:30 00:00:00 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32250 PID3 09:30 00:00:00 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32251 PID3 09:30 00:00:00 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32252 PID3 09:30 00:00:00 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32253 PID3 09:30 00:00:00 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32254 PID3 09:30 00:00:00 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32255 PID3 09:30 00:00:00 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32256 PID3 09:30 00:00:00 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32257 PID3 09:30 00:00:00 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32258 PID3 09:30 00:00:00 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32259 PID3 09:30 00:00:00 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32260 PID3 09:30 00:00:00 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32261 PID3 09:30 00:00:00 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32262 PID3 09:30 00:00:00 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32264 PID3 09:30 00:00:00 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32265 PID3 09:30 00:00:00 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32267 PID3 09:30 00:00:19 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32268 PID3 09:30 00:00:24 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32269 PID3 09:30 00:00:00 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32270 PID3 09:30 00:00:00 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32271 PID3 09:30 00:00:00 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32272 PID3 09:30 00:00:00 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32273 PID3 09:30 00:00:00 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...
oracle 32274 PID3 09:30 00:00:00 /JAVA_HOME/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 ...


For this particular example:

 

Note that:
  • All processes are clones and were created at the same time.
  • Process Ids are consecutive.
  • If the first process is killed, child processes will be killed too.
  • Issue could be verified with the following command also:
$ pstree -Gplan | grep weblogic

Changes

Modifications were done on the WebLogic start-up script according to the OAM integration,

The following lines were added to the script startWebLogic.sh

OBACCESS_INSTALL_DIR="/OAM_HOME/netpoint/AASDK/AccessServerSDK"
export OBACCESS_INSTALL_DIR
LD_ASSUME_KERNEL="2.4.19"
export LD_ASSUME_KERNEL
CLASSPATH=${CLASSPATH}:/OAM_HOME/netpoint/ASSDK/AccessServerSDK/oblix/lib/jobaccess.jar
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/OAM_HOME/netpoint/ASSDK/AccessServerSDK/oblix/lib
PATH=${PATH}:/OAM_HOME/netpoint/ASSDK/AccessServerSDK/oblix/lib

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.