Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # !/bin/sh
- ulimit -n 65535
- while :;
- do
- java -server -Dfile.encoding=UTF-8 -Dsun.nio.ch.internalThreadPoolSize=4 -Dsun.nio.ch.maxCompletionHandlersOnStack=64 -Djava.net.preferIPv4Stack=true -Xms18G -Xmx18G -XX:+UseG1GC -XX:MaxGCPauseMillis=100 -XX:ParallelGCThreads=4 -XX:MaxTenuringThreshold=15 -XX:+AggressiveOpts -XX:+ClassUnloading -XX:+UseFastAccessorMethods -XX:+AlwaysPreTouch -XX:+RelaxAccessControlCheck -XX:+UseBiasedLocking -XX:CompileThreshold=1000 -XX:+OptimizeStringConcat -XX:SurvivorRatio=4 -XX:TargetSurvivorRatio=90 -XX:MaxNewSize=2G -XX:NewSize=1G -XX:+PrintGCDateStamps -verbose:gc -XX:+PrintGCDetails -Xloggc:"/var/log/jvm/garbage.log" -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=100M -cp config:../libs/*:./lucera.jar:./extensions/* ru.catssoftware.gameserver.util.BootManager > log/stdout.log 2>&1
- [ $? -ne 2 ] && break
- sleep 30;
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement