Why is JBoss spinning up multiple child processes on Linux

Latest response

I am running jboss on Linux using script.

./standalone.sh -c=standalone-full.xml -bmanagement=$(hostname) -b=$(hostname)

As a result of this it, spawns multiple child process similar to the following: https://developer.jboss.org/thread/175022

root 5266 5245 0 11:15:57 pts/2 17:06 /opt/JDK/bin/java -Dprogram.name=jboss_run.sh -s
root 6668 5266 0 11:33:48 pts/2 0:00 /opt/JDK/bin/java -Dprogram.name=jboss_run.sh -s
root 16061 5266 0 12:13:03 pts/2 0:00 /opt/JDK/bin/java -Dprogram.name=jboss_run.sh -s
root 17973 5266 0 12:33:38 pts/2 0:00 /opt/JDK/bin/java -Dprogram.name=jboss_run.sh -s
root 11358 5266 0 11:51:22 pts/2 0:00 /opt/JDK/bin/java -Dprogram.name=jboss_run.sh -s
root 11733 5266 0 11:53:30 pts/2 0:00 /opt/JDK/bin/java -Dprogram.name=jboss_run.sh -s
root 13117 5266 0 12:00:28 pts/2 0:00 /opt/JDK/bin/java -Dprogram.name=jboss_run.sh -s
Here I am using example for above link for the purpose of exhibiting my problem (as I cannot share actual logs), but in my case the process running is jboss.

When I execute ps -ef | grep jboss, it gives me multiple entries(like the above entries, except that instead of java it is jboss in my case) with same parent id (like 5266) and different child ids.

This happens intermittently, and later when I run ps -ef | grep jboss, it only shows one jboss process running.

I have been googling on this problem, but not finding much help.

I also referred to https://developer.jboss.org/thread/153697. It mentions of this issue happening, but there is no concrete evidence/reasoning for the same.

Any pointers or suggestion, what might be causing this issue?

Thanks.

Responses