Hi Mmuzaf

IGNITE_WAL_MMAP is false in our environment.

Here is the configuration;
<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans";
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       xsi:schemaLocation="
        http://www.springframework.org/schema/beans
        http://www.springframework.org/schema/beans/spring-beans.xsd";>
    <bean id="ignite.cfg"
class="org.apache.ignite.configuration.IgniteConfiguration">
        <property name="gridLogger">
            <bean class="org.apache.ignite.logger.log4j2.Log4J2Logger">
                <constructor-arg type="java.lang.String"
value="/etc/apache-ignite/ignite-log4j2.xml"/>
            </bean>
        </property>
        <property name="communicationSpi">
            <bean
class="org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi">
                <property name="usePairedConnections" value="true"/>
            </bean>
        </property>
        <property name="failureDetectionTimeout" value="60000"/>
        <property name="systemThreadPoolSize" value="128"/>
        <property name="publicThreadPoolSize" value="128"/>
        <property name="queryThreadPoolSize" value="128"/>
        <property name="serviceThreadPoolSize" value="128"/>
        <property name="stripedPoolSize" value="128"/>
        <property name="dataStreamerThreadPoolSize" value="64"/>
        <property name="rebalanceThreadPoolSize" value="8"/>

        
        <property name="peerClassLoadingEnabled" value="true"/>

        <property name="cacheConfiguration">
            <list>
                
                <bean
class="org.apache.ignite.configuration.CacheConfiguration">
                    <property name="name" value="default"/>
                    <property name="atomicityMode" value="ATOMIC"/>
                    <property name="backups" value="1"/>
                </bean>
            </list>
        </property>

        
        <property name="discoverySpi">
            <bean
class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
                <property name="networkTimeout" value="10000"/>
                <property name="ipFinder">
                    <bean
class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder">
                        <property name="addresses">
                            <list>
                                
                            </list>
                        </property>
                    </bean>
                </property>
            </bean>
        </property>

        
        <property name="dataStorageConfiguration">
            <bean
class="org.apache.ignite.configuration.DataStorageConfiguration">
                <property name="defaultDataRegionConfiguration">
                    <bean
class="org.apache.ignite.configuration.DataRegionConfiguration">
                        <property name="persistenceEnabled" value="true"/>
                        <property name="checkpointPageBufferSize" value="#{
1L * 1024 * 1024 * 1024}"/>
                        <property name="maxSize" value="#{ 28L * 1024 * 1024
* 1024 }"/>
                    </bean>
                </property>
                <property name="storagePath" value="/data-persist"/>
                <property name="walPath" value="/data-wal"/>
                <property name="walArchivePath" value="/data-wal"/>
                <property name="walMode" value="LOG_ONLY"/>
                <property name="walSegmentSize" value="#{ 128L * 1024 * 1024
}"/>
                <property name="walFlushFrequency" value="5000"/>
                <property name="maxWalArchiveSize" value="#{ 2L * 1024 *
1024 * 1024 }"/>
                
                
                <property name="writeThrottlingEnabled" value="true"/>
                <property name="checkpointFrequency" value="300000"/>
                <property name="checkpointWriteOrder" value="SEQUENTIAL" />
            </bean>
        </property>
    </bean>
</beans>




-----
İbrahim Halil Altun
Senior Software Engineer @ Segmentify
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to