Author: kevan
Date: Fri Jun 6 05:57:40 2008
New Revision: 663919
URL: http://svn.apache.org/viewvc?rev=663919&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.1/plugins/connector/transaction/src/main/plan/plan.xml
Modified: geronimo/server/branches/2.1/plugins/connector/transaction/src/main/plan/plan.xml
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/plugins/connector/transaction/src/main/plan/plan.xml?rev=663919&r1=663918&r2=663919&view=diff
==============================================================================
--- geronimo/server/branches/2.1/plugins/connector/transaction/src/main/plan/plan.xml (original)
+++ geronimo/server/branches/2.1/plugins/connector/transaction/src/main/plan/plan.xml Fri
Jun 6 05:57:40 2008
@@ -49,16 +49,20 @@
</reference>
</gbean>
+ <!--
+ Maximum log file size is 2 Megs (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>
|