4 Replies Latest reply on Jan 9, 2009 10:35 AM by alesj

    File system's filling up fast

    meetoblivion

      I upgraded earlier this week to jboss as 5 and seam 2.1.1. since then, when my app runs the tmp directory located here:

      /opt/jboss/jboss-5.0.0.GA/server/default/tmp/vfs-nested.tmp

      fills up extremely quickly. At 19:00 I restarted and cleared the files, brought it down to 15% used, on a 10gb disk. At 22:00 it was 25%.

      Any ideas why this is filling up?

        • 1. Re: File system's filling up fast
          meetoblivion

          Ok, just figured out it's a duplicate of

          http://www.jboss.com/index.html?module=bb&op=viewtopic&t=147622

          Changed the cache and let's see if it's still fine tomorrow.

          • 2. Re: File system's filling up fast
            alesj

            Can you try this configuration:

            <?xml version="1.0" encoding="UTF-8"?>
            <!--
             The JBossAS initializer configuration.
            -->
            <deployment xmlns="urn:jboss:bean-deployer:2.0">
            
             <bean name="VFSCache">
             <constructor factoryClass="org.jboss.virtual.spi.cache.VFSCacheFactory" factoryMethod="getInstance">
             <!-- Use the LRUVFSCache implementation -->
             <parameter>org.jboss.virtual.plugins.cache.LRUVFSCache</parameter>
             <parameter>
             <map keyClass="java.lang.String" valueClass="java.lang.String">
             <entry>
             <key>jboss.vfs.cache.LRUPolicyCaching.min</key>
             <value>2</value>
             </entry>
             <entry>
             <key>jboss.vfs.cache.LRUPolicyCaching.max</key>
             <value>15</value>
             </entry>
             </map>
             </parameter>
             </constructor>
             <start ignored="true"/>
             </bean>
            
             <bean name="VfsNamesExceptionHandler" class="org.jboss.virtual.plugins.context.helpers.NamesExceptionHandler">
             <constructor>
             <parameter class="java.lang.String">sqljdbc.jar</parameter>
             </constructor>
             </bean>
            
             <bean name="JBossVFSInitializer" class="org.jboss.virtual.plugins.cache.PreInitializeVFSContexts">
             <property name="initializedVFSContexts" class="java.util.Map">
             <map keyClass="java.net.URL" valueClass="org.jboss.virtual.spi.ExceptionHandler">
             <entry>
             <key>${jboss.lib.url}</key>
             <value><null/></value>
             </entry>
             <entry>
             <key>${jboss.common.lib.url}</key>
             <value><inject bean="VfsNamesExceptionHandler"/></value>
             </entry>
             <entry>
             <key>${jboss.server.lib.url}</key>
             <value><inject bean="VfsNamesExceptionHandler"/></value>
             </entry>
             <entry>
             <key>${jboss.server.home.url}deploy</key>
             <value><inject bean="VfsNamesExceptionHandler"/></value>
             </entry>
             </map>
             </property>
             <property name="holdReference">true</property>
             </bean>
            
            </deployment>
            

            It changes the cache type + it adds deploy dir as pre-initialized root as well.

            • 3. Re: File system's filling up fast
              alesj
              • 4. Re: File system's filling up fast
                alesj

                 

                "alesj" wrote:
                Or you can try this new impl:
                - http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200398#4200398

                I attached it to JIRA issue:
                - https://jira.jboss.org/jira/browse/JBAS-6373