You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by dw...@apache.org on 2008/06/06 18:25:57 UTC

svn commit: r664019 - /geronimo/server/branches/2.0/configs/transaction/src/plan/plan.xml

Author: dwoods
Date: Fri Jun  6 09:25:57 2008
New Revision: 664019

URL: http://svn.apache.org/viewvc?rev=664019&view=rev
Log:
GERONIMO-3930 The maximum size of each tran log file is 2 gigs (HOWL needs to index using an integer). The default max size will now be 2 megs. The default buffer size was 32k, which is pretty large (typically would have a lot of wasted space). I've bumped it down to 4k.

Modified:
    geronimo/server/branches/2.0/configs/transaction/src/plan/plan.xml

Modified: geronimo/server/branches/2.0/configs/transaction/src/plan/plan.xml
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.0/configs/transaction/src/plan/plan.xml?rev=664019&r1=664018&r2=664019&view=diff
==============================================================================
--- geronimo/server/branches/2.0/configs/transaction/src/plan/plan.xml (original)
+++ geronimo/server/branches/2.0/configs/transaction/src/plan/plan.xml Fri Jun  6 09:25:57 2008
@@ -48,16 +48,20 @@
         </reference>
     </gbean>
 
+    <!-- 
+        Maximum log file size is 2 MB (4K * 512). Buffer size can't be changed
+        once the files have been created. 
+    -->
     <gbean name="HOWLTransactionLog" class="org.apache.geronimo.transaction.log.HOWLLogGBean">
         <attribute name="bufferClassName">org.objectweb.howl.log.BlockLogBuffer</attribute>
-        <attribute name="bufferSizeKBytes">32</attribute>
+        <attribute name="bufferSizeKBytes">4</attribute>
+        <attribute name="maxBlocksPerFile">512</attribute>
         <attribute name="checksumEnabled">true</attribute>
         <attribute name="adler32Checksum">true</attribute>
         <attribute name="flushSleepTimeMilliseconds">50</attribute>
         <attribute name="logFileDir">var/txlog</attribute>
         <attribute name="logFileExt">log</attribute>
         <attribute name="logFileName">howl</attribute>
-        <attribute name="maxBlocksPerFile">-1</attribute>
         <attribute name="maxBuffers">0</attribute>
         <attribute name="maxLogFiles">2</attribute>
         <attribute name="minBuffers">4</attribute>