Interesting. My guess:<br><br>I&#39;ve already heard about threading in Solaris, but never saw it, as I now Solaris have a lightweight threads and Java can use them, so threads started may be seem in ps. That must be it, threads are being launched. I may be Tomcat, how many processes are started? Tomcat uses a Thread Pool, so check server.xml and see if the numbers (e.g. max, min) match what you see. (suposing your app doesn&#39;t use threads itself)<br>
<br><div class="gmail_quote">On Wed, Jul 2, 2008 at 9:50 AM, idweiss &lt;<a href="mailto:do-not-reply@jboss.com">do-not-reply@jboss.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Can it be that a JBoss instance will launch other JBoss instances?<br>
We observed JBoss duplicate processes on our system running JBoss <a href="http://4.2.0.GA" target="_blank">4.2.0.GA</a> on Sun T5220 machines with Solaris 10.<br>
After we run JBoss for several hours we sometime see several JBoss processes running instead of only one, although we launch only one JBoss instance (we made sure by adding logging to the JBoss run.sh launch script). Also the new duplicate JBoss processes have the parent pid of the original JBoss process (the original JBoss process has a parent pid of it&#39;s run.sh process). The JBoss processes have the same parameters as the original JBoss process and take the same amount of memory.<br>

<br>
Here&#39;s an example of running the ps -ef | grep run.sh command:<br>
&nbsp;anauser 16082 &nbsp; &nbsp; 1 &nbsp; 0 12:45:50 ? &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0:00 /bin/sh /export/home/ana41/jboss/bin/run.sh -b <a href="http://0.0.0.0" target="_blank">0.0.0.0</a><br>
&nbsp;anauser 16093 16082 &nbsp; 2 12:45:50 ? &nbsp; &nbsp; &nbsp; &nbsp; 960:40 /export/home/ana41/java/bin/java -Dprogram.name=run.sh -server -Xms2048m -Xmx20<br>
&nbsp;anauser &nbsp;5623 16093 &nbsp; 0 00:48:39 ? &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0:00 /export/home/ana41/java/bin/java -Dprogram.name=run.sh -server -Xms2048m -Xmx20<br>
&nbsp;anauser &nbsp;5627 16093 &nbsp; 0 00:48:43 ? &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0:00 /export/home/ana41/java/bin/java -Dprogram.name=run.sh -server -Xms2048m -Xmx20<br>
&nbsp;anauser &nbsp;5590 16093 &nbsp; 0 00:48:31 ? &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0:00 /export/home/ana41/java/bin/java -Dprogram.name=run.sh -server -Xms2048m -Xmx20<br>
<br>
We also see that the Total Running time of these duplicate processes are almost always 0. We saw only once a duplicate JBoss process with a running time of 2, and then that process disappeared. I have a theory that maybe these Processes are stuck because their output stream are not read or directed to anywhere. We still have no idea what launched these processes.<br>

<br>
Will appreciate any advise.<br>
<br>
Thanks,<br>
Ido<br>
<br>
View the original post : <a href="http://www.jboss.com/index.html?module=bb&amp;op=viewtopic&amp;p=4162048#4162048" target="_blank">http://www.jboss.com/index.html?module=bb&amp;op=viewtopic&amp;p=4162048#4162048</a><br>

<br>
Reply to the post : <a href="http://www.jboss.com/index.html?module=bb&amp;op=posting&amp;mode=reply&amp;p=4162048" target="_blank">http://www.jboss.com/index.html?module=bb&amp;op=posting&amp;mode=reply&amp;p=4162048</a><br>

_______________________________________________<br>
jboss-user mailing list<br>
<a href="mailto:jboss-user@lists.jboss.org">jboss-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/jboss-user" target="_blank">https://lists.jboss.org/mailman/listinfo/jboss-user</a><br>
</blockquote></div><br>