5 Replies Latest reply on May 1, 2012 2:11 AM by nick.sree

    Why JBoss AS 7 is creating Gigabytes of data in temp folder

    nick.sree

      When i run my .ear application twice or thrice my JBOSS_HOME/standalone/temp and works creates gigabytes of data. when we compare it with older Jboss versions its pretty huge. We are running out of disc space bcause of this. Have any thoughts about it?

        • 1. Re: Why JBoss AS 7 is creating Gigabytes of data in temp folder
          wdfink

          What kind of data are created.

          Does it happen with a fresh AS7?

          Do you can isolate what application is is?

          • 2. Re: Why JBoss AS 7 is creating Gigabytes of data in temp folder
            nick.sree

            I'm trying to deploy  .ear with jackrabbit-jca in JBoss AS7.1.1 Final

             

            Now i'm testing only one .war inside my .ear.

             

            Once i freshly start my application and then shutdown it

            (1st time )

                standalone/temp folder total size is  167 MB

             

               standalone/temp/work/  size is   170 KB

               standalone/temp/vfs/     size is   166 MB

                standalone/temp/auth   size is    0 KB

             

            (2nd Time)

                standalone/temp folder total size is  238 MB

               

               standalone/temp/work/  size is   196 KB

               standalone/temp/vfs/     size is   238 MB

               standalone/temp/auth   size is    0 KB

             

            (3rd Time)

            standalone/temp folder total size is  309 MB

              

               standalone/temp/work/  size is   196 KB

               standalone/temp/vfs/     size is    309 MB

               standalone/temp/auth   size is    0 KB

             

             

            Which means its increasing 71MB in vfs folder on each run.... so you can imagine what will be the throughput for a full fledged ear deployment

             

            And its noticed that on each deployment its creating a folder called "deployment+random value" and having all my .ear/lib/jars inside

            and one more folder called "temp+random value" and having my .rar deployment.

             

             

            Jboss AS 7 forgot to remove the old deployments on restart or what ever... we are running out of disk space after 10 continuous deployment in our full fledged .ear deployment.

            • 3. Re: Why JBoss AS 7 is creating Gigabytes of data in temp folder
              jason.greene

              I cant seem to reproduce this. What operating system are you on? How are you shutting down the server. How did you deploy the application?

              • 4. Re: Why JBoss AS 7 is creating Gigabytes of data in temp folder
                jaikiran

                Jason Greene wrote:

                 

                I cant seem to reproduce this.

                It's probably this https://community.jboss.org/message/723810#723810 which is fixed upstream.

                • 5. Re: Why JBoss AS 7 is creating Gigabytes of data in temp folder
                  nick.sree

                  I'm on Windows 7. I'm deploying starting and shutting down AS7 using eclipse IDE.

                  Its great to know that it got fixed in upstream. But i doubt, its the same issue what Jaikiran points?.