3 Replies Latest reply on Jan 19, 2006 5:49 PM by jumeier

    JBoss process spawning

    jumeier

      Hello,

      I'm running JBoss AS 4.0.1.SP1 on a SuSe Linux 9.0 Box with Java HotSpot 1.4.2-b28.

      When starting up JBoss, I have a very strange behavior, and I cannot find any documentation about it. Executing $JBOSS_HOME/bin/run.sh, Jboss comes up, but it spawns immediately some 32 processes, each of them consuming -Xms128!
      And as the server runs, it continues creating more and more processes, reaching after 48 hours some 72 processes.

      I don't know how to control this. I basically want one process, not dozens. I highly appreciate if somebody could give me a tip where this can be configured.

      Thanks,
      Juerg

        • 1. Re: JBoss process spawning
          peterj

          Sounds like you are running with the old LinuxThreads library, and not the new Native POSIX Thread Library (NPTL). In LinuxThreads, each thread shows up as its own process (they all report the memeory they share, so they are not each using 128MB of memory). I don't know offhand how to switch to the new library, that would require some research, which I will defer to you. :-)

          • 2. Re: JBoss process spawning
            peterj

            Oh, I should point out that this is not a JBoss issue nor a Java issue. The library is global to Linux, thus it is an OS issue. That is something you have to change in SUSE. (Or at least that is my understanding.)

            • 3. Re: JBoss process spawning
              jumeier

              Peter,

              Thanks for the tip, the OS thread management could be quite a possible source of the problem. I will check with the folks at Novell/SuSE, and keep you informed about the results.

              Thanks,
              Juerg