<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
Replication timeout on high load
</h3>
<span style="margin-bottom: 10px;">
created by <a href="https://community.jboss.org/people/satishpa2">Satish Avhad</a> in <i>JBoss Cache</i> - <a href="https://community.jboss.org/message/819406#819406">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p><span style="font-size: 10.0pt; font-family: 'Segoe UI','sans-serif'; color: black;">Hi; </span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>During high load getting the following error in log when there are more "<span style="font-size: 10.0pt; font-family: 'Segoe UI','sans-serif'; color: black;">put xml to cache" operations </span></p><p><span style="font-size: 10.0pt; font-family: 'Segoe UI','sans-serif'; color: black;">ERROR;[ACTIVE] ExecuteThread: '35' for queue: 'weblogic.kernel.Default (self-tuning)';putString<br/> org.jboss.cache.lock.TimeoutException: Replication timeout </span><span style="font-size: 10.0pt; font-family: 'Segoe UI','sans-serif'; color: black;">for  X , Y , Z</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I am  using JBOSS cache in <span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #244061;">JBoss Common Classes </span><span style="color: #244061; font-family: Calibri, sans-serif; font-size: 11pt;">2.2.14.GA deployed on Oracle Service Bus which is in a 2 X 4 clustered environment</span></p><p>JBOSS cache config file is given below. Pl suggest appropriate changes.to config file</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><?xml version="1.0" encoding="UTF-8"?></p><p><jbosscache xmlns="urn:jboss:jbosscache-core:config:3.2"></p><p>        <locking isolationLevel="REPEATABLE_READ"</p><p>        lockParentForChildInsertRemove="false"</p><p>        lockAcquisitionTimeout="10000"</p><p>        nodeLockingScheme="mvcc"</p><p>        writeSkewCheck="false"</p><p>        useLockStriping="false"</p><p>        concurrencyLevel="10000"</p><p>        /></p><p>    <transaction</p><p>        transactionManagerLookupClass="org.jboss.cache.transaction.GenericTransactionManagerLookup" /></p><p>    <serialization useRegionBasedMarshalling="true" /></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>    <clustering mode="replication"</p><p>        clusterName="X-JBossCache-Cluster"></p><p>        <sync replTimeout="15000" /></p><p>        <stateRetrieval fetchInMemoryState="true" timeout="15000" />        </p><p>        <jgroupsConfig></p><p>            <UDP discard_incompatible_packets="true"</p><p>                enable_bundling="false" enable_diagnostics="true" ip_ttl="2"</p><p>                loopback="false" max_bundle_size="64000" max_bundle_timeout="30"</p><p>                mcast_addr="XXX.XX.XXX" mcast_port="XXXX"</p><p>                mcast_recv_buf_size="25000000" mcast_send_buf_size="640000"</p><p>                oob_thread_pool.enabled="true"</p><p>                oob_thread_pool.keep_alive_time="10000"</p><p>                oob_thread_pool.max_threads="4" oob_thread_pool.min_threads="1"</p><p>                oob_thread_pool.queue_enabled="true"</p><p>                oob_thread_pool.queue_max_size="10"</p><p>                oob_thread_pool.rejection_policy="Run" thread_naming_pattern="pl"</p><p>                thread_pool.enabled="true" thread_pool.keep_alive_time="30000"</p><p>                thread_pool.max_threads="25" thread_pool.min_threads="1"</p><p>                thread_pool.queue_enabled="true" thread_pool.queue_max_size="10"</p><p>                thread_pool.rejection_policy="Run" tos="8"</p><p>                ucast_recv_buf_size="20000000" ucast_send_buf_size="640000"</p><p>                use_concurrent_stack="true" use_incoming_packet_handler="true" /></p><p>            <PING num_initial_members="3" timeout="2000" /></p><p>            <MERGE2 max_interval="30000" min_interval="10000" /></p><p>            <FD_SOCK /></p><p>            <FD max_tries="5" shun="true" timeout="10000" /></p><p>            <VERIFY_SUSPECT timeout="1500" /></p><p>            <pbcast.NAKACK discard_delivered_msgs="true" gc_lag="0"</p><p>                max_xmit_size="60000" retransmit_timeout="300,600,1200,2400,4800"</p><p>                use_mcast_xmit="false" /></p><p>            <UNICAST timeout="300,600,1200,2400,3600" /></p><p>            <pbcast.STABLE desired_avg_gossip="50000" max_bytes="400000"</p><p>                stability_delay="1000" /></p><p>            <pbcast.GMS join_retry_timeout="2000" join_timeout="5000"</p><p>                print_local_addr="true" shun="false"</p><p>                view_ack_collection_timeout="5000" view_bundling="true" /></p><p>            <FRAG2 frag_size="60000" /></p><p>            <pbcast.STREAMING_STATE_TRANSFER use_reading_thread="true" /></p><p>            <pbcast.FLUSH timeout="0" /></p><p>        </jgroupsConfig></p><p>    </clustering></p><p>    </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>    <eviction wakeUpInterval="5000"></p><p>        <default</p><p>            algorithmClass="org.jboss.cache.eviction.FIFOAlgorithm"></p><p>            <property name="maxNodes" value="5000" /></p><p>        </default></p><p>        <region name="/a"</p><p>            algorithmClass="org.jboss.cache.eviction.LRUAlgorithm"</p><p>            eventQueueSize=""></p><p>            <property name="maxNodes" value="50000" /></p><p>            <property name="timeToLive" value="180000" /></p><p>            <property name="maxAge" value="360000" /></p><p>        </region></p><p>        <region name="/b"</p><p>            algorithmClass="org.jboss.cache.eviction.LRUAlgorithm"</p><p>            eventQueueSize=""></p><p>            <property name="maxNodes" value="150000" /></p><p>            <property name="timeToLive" value="360000" /></p><p>            <property name="maxAge" value="360000" /></p><p>        </region></p><p>        <region name="/c"</p><p>            algorithmClass="org.jboss.cache.eviction.LRUAlgorithm"</p><p>            eventQueueSize=""></p><p>            <property name="maxNodes" value="1" /></p><p>            <property name="timeToLive" value="3000000" /></p><p>            <property name="maxAge" value="3000000" /></p><p>        </region></p><p>        <region name="/d"</p><p>            algorithmClass="org.jboss.cache.eviction.LRUAlgorithm"</p><p>            eventQueueSize=""></p><p>            <property name="maxNodes" value="10000" /></p><p>            <property name="maxAge" value="300000" /></p><p>            <property name="timeToLive" value="300000" /></p><p>        </region></p><p>    </eviction></p><p></jbosscache></p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/819406#819406">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Cache at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2052">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>