3 Replies Latest reply on Dec 21, 2006 8:18 PM by peterj

    Jboss Multiple java instance issue

    nikhighlander

      Hi,

      We have a linux box on which we have Jboss 3.2.5 running. We have Apache/2.0.46 which forwards request to the application server.
      We have multiple instances for various multiple applications running. Lately we have seen that there are multiple java processes starting from one instance. Earlier we used to only have one java instance starting for every application. Now we around 40 to 80 java process starting up for each application.


      I would really appreciate if some one can help me over this. In case any more information is needed then please let me know.

      Nik

        • 1. Re: Jboss Multiple java instance issue
          nikhighlander

          Actually to make it more clear. Once we start up a application instance. Its starting up multiple run.sh process for the same application. But with different process id's.

          • 2. Re: Jboss Multiple java instance issue
            nikhighlander

            If I do a ps -aef | grep nik. Here is a small output which I am getting. Out here if we do a wc -l, we are getting around 80 processes

            jboss 8564 8492 0 14:40 pts/1 00:00:00 /usr/java/j2sdk1.4.2_05/bin/java -Xms512m -Xmx1024m -XX:MaxPermSize=64m -verbose:gc -Dprogram.name=run.sh -classpath /apps/jboss/bin/run.jar:/usr/java/j2sdk1.4.2_05/lib/tools.jar org.jboss.Main -c NIK
            jboss 8565 8492 0 14:40 pts/1 00:00:00 /usr/java/j2sdk1.4.2_05/bin/java -Xms512m -Xmx1024m -XX:MaxPermSize=64m -verbose:gc -Dprogram.name=run.sh -classpath /apps/jboss/bin/run.jar:/usr/java/j2sdk1.4.2_05/lib/tools.jar org.jboss.Main -c NIK
            jboss 8566 8492 0 14:40 pts/1 00:00:00 /usr/java/j2sdk1.4.2_05/bin/java -Xms512m -Xmx1024m -XX:MaxPermSize=64m -verbose:gc -Dprogram.name=run.sh -classpath /apps/jboss/bin/run.jar:/usr/java/j2sdk1.4.2_05/lib/tools.jar org.jboss.Main -c NIK
            jboss 8567 8492 0 14:40 pts/1 00:00:00 /usr/java/j2sdk1.4.2_05/bin/java -Xms512m -Xmx1024m -XX:MaxPermSize=64m -verbose:gc -Dprogram.name=run.sh -classpath /apps/jboss/bin/run.jar:/usr/java/j2sdk1.4.2_05/lib/tools.jar org.jboss.Main -c NIK
            jboss 8568 8492 0 14:40 pts/1 00:00:00 /usr/java/j2sdk1.4.2_05/bin/java -Xms512m -Xmx1024m -XX:MaxPermSize=64m -verbose:gc -Dprogram.name=run.sh -classpath /apps/jboss/bin/run.jar:/usr/java/j2sdk1.4.2_05/lib/tools.jar org.jboss.Main -c NIK
            jboss 8569 8492 0 14:40 pts/1 00:00:00 /usr/java/j2sdk1.4.2_05/bin/java -Xms512m -Xmx1024m -XX:MaxPermSize=64m -verbose:gc -Dprogram.name=run.sh -classpath /apps/jboss/bin/run.jar:/usr/java/j2sdk1.4.2_05/lib/tools.jar org.jboss.Main -c NIK
            jboss 8570 8492 0 14:40 pts/1 00:00:00 /usr/java/j2sdk1.4.2_05/bin/java -Xms512m -Xmx1024m -XX:MaxPermSize=64m -verbose:gc -Dprogram.name=run.sh -classpath /apps/jboss/bin/run.jar:/usr/java/j2sdk1.4.2_05/lib/tools.jar org.jboss.Main -c NIK
            jboss 8571 8492 0 14:40 pts/1 00:00:00 /usr/java/j2sdk1.4.2_05/bin/java -Xms512m -Xmx1024m -XX:MaxPermSize=64m -verbose:gc -Dprogram.name=run.sh -classpath /apps/jboss/bin/run.jar:/usr/java/j2sdk1.4.2_05/lib/tools.jar org.jboss.Main -c NIK

            • 3. Re: Jboss Multiple java instance issue
              peterj

              I believe there is a Linux kernel setting that determines if separate threads show up as their own processes. I can't recall the setting's name, but googling "linux kernel threading", or something like that, might help.