2 Replies Latest reply on Mar 5, 2012 11:55 AM by smarlow

    Too many open files for jsf-impl in AS 7

    clerum

      Right now I'm seeing 2600+ files for the jboss process which are

       

      /usr/local/jboss-as-7.1.0.Final/modules/com/sun/jsf-impl/main/jsf-impl-2.1.5-jbossorg-1.jar

       

      This just seems to esclate the longer the server is up and running. There is only one application running on the server and it has a peak user count of about 10.

       

      The App is a EE6 + Seam 3 application.

       

      Any idea why this is happening or where to start troubleshooting?

        • 1. Re: Too many open files for jsf-impl in AS 7
          smarlow

          To start troubleshooting, you could point the Eclipse Memory Analzer tool at the AS7 server after it has hit some peak usage (preferably when its idling some time after).  Either grab the memory heap dump with jstack or directly with Eclipse Memory Analzer.  Be aware that the memory dump will contain all memory values.

           

          In the Eclipse Memory Analzer, you might look at the references to the jsf-impl-2.1.5-jbossorg-1.jar (it has decent documentation that explains how to look at Java objects and see what is referencing them).

          • 2. Re: Too many open files for jsf-impl in AS 7
            smarlow

            jstack is the wrong tool for collecting memory dumps, jmap can instead be used.  Link for the Eclipse Memory Analyzer is here.