2 Replies Latest reply on Aug 7, 2003 8:39 PM by zumbiehl

    number of java processes on linux

    zumbiehl Newbie

      Hi,
      I am running a JBOSS 3.2.0 instance on linux Debian
      and I can see a new Java process being created every 15 minutes or so.

      The log gives me this :

      2003-08-05 09:10:34,966 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] run: IdleRemover notifying pools, interval: 450000
      2003-08-05 09:10:34,970 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using properties: {user=sa, pass=}

      Shouldn't those processes get killed after a while ?
      I am up to 133 JBOSS related processes and my system crashes after a while !

      What am I doing wrong ?

      thanks for your help
      christian

        • 1. Re: number of java processes on linux
          Jon Barnett Master

          JBoss runs a number of helper processes to do things like clean up of idle connections, creation of new connections for the connection pool and so on. It is a application server microkernel and like the Linux OS, has some background tasks always running.

          With the number of threads you have related to the JBoss JVM, it sounds like some problem in the deployed applications or a misconfiguration.

          Have you made any changes to the JBoss configuration and are there any applications deployed? Please detail the changes as it might be easier to identify the problem. Please detail the crash events. Also provide information on the memory you have available.

          • 2. Re: number of java processes on linux
            zumbiehl Newbie

            Thanks for your reply
            After some further investigation, this problem occurs after the deployment of a custom MBEAN that gets activated every minute (TimeNotifier)
            I assume I don't close a connection or something else doesn't get properly removed after use and causing threads to accumulate ...
            I'll keep looking for this

            christian