Hi all,
So I know my setup isn't the greatest but I can get the server running just the way I want it under certain circumstances, the only problem is that is crashes after a couple of hours when anyone is playing on the server.
Well to start from the beginning, I had been running the server with the default .bat file, just adjusted for RAM.
java -Xms2G -Xmx4G -XXermSize=128m -jar ftbserver.jar
My friends and I (yes I was experiencing it too) had been noticing a weird type of lag, kind of felt like was glitching out.
I did a bit lerking around on the forums and found some posts about modifying .bat files.
I pieced together these....
They both make the server run great, except the fact that after a couple of hours of anyone playing on the server, the server crashes.
Could anyone check through that .bat's and figure out why? I'm assuming it has something to do with those.
Terribly sorry I forgot to make a note of any messages that occur when the server crashes, I'm running the server with the original .bat now so if needed I can switch back and make it crash post what messages I receive. I know all players get disconnected, the server window stays open and no one can reconnect. I can't type "stop" to shut down, I have to 'x' out of it and start the sever again.
Thanks all.
- Operating System - Windows 8 (64-bit)
- Running on my home PC, yes I do run the client as well.
- Running FTB Unleashed v1.1.3
- I added some disabled mods, DeathTimer, EnchantingPlus, Hats, HatStand, NetherOres, PowerConverters, Reliquary. (I know I was having the laggy issues before I enabled these).
- Specs:
- Intel Core i5 760 @ 2.80 GHz
- 8GB DDR3 RAM
- 2TB WD Black (WD2002FAEX-007BA0)
So I know my setup isn't the greatest but I can get the server running just the way I want it under certain circumstances, the only problem is that is crashes after a couple of hours when anyone is playing on the server.
Well to start from the beginning, I had been running the server with the default .bat file, just adjusted for RAM.
java -Xms2G -Xmx4G -XXermSize=128m -jar ftbserver.jar
My friends and I (yes I was experiencing it too) had been noticing a weird type of lag, kind of felt like was glitching out.
I did a bit lerking around on the forums and found some posts about modifying .bat files.
I pieced together these....
Code:
java -server -Xincgc -Xmx4G -Xms1G -XX:NewRatio=2 -XX:CMSFullGCsBeforeCompaction=1
-XX:SoftRefLRUPolicyMSPerMB=2048 -XX:+CMSParallelRemarkEnabled -XX:+UseParNewGC
-XX:+DisableExplicitGC -Xnoclassgc -oss4M -ss4M -XX:+UseFastAccessorMethods
-XX:CMSInitiatingOccupancyFraction=90 -XX:+UseConcMarkSweepGC -XX:UseSSE=4
-XX:+UseCMSCompactAtFullCollection -XX:ParallelGCThreads=2 -XX:+AggressiveOpts
-cp ftbserver.jar -jar ftbserver.jar
Code:
java -server -Xincgc -Xmx4G -Xms1G -XX:NewRatio=2 -XX:CMSFullGCsBeforeCompaction=1
-XX:SoftRefLRUPolicyMSPerMB=2048 -XX:+CMSParallelRemarkEnabled -XX:+UseParNewGC
-XX:+DisableExplicitGC -Xnoclassgc -XX:+UseFastAccessorMethods
-XX:CMSInitiatingOccupancyFraction=90 -XX:+UseConcMarkSweepGC -XX:UseSSE=4
-XX:+UseCMSCompactAtFullCollection -XX:ParallelGCThreads=4 -XX:+AggressiveOpts
-XX:ReservedCodeCacheSize=1G -cp ftbserver.jar -jar ftbserver.jar
They both make the server run great, except the fact that after a couple of hours of anyone playing on the server, the server crashes.
Could anyone check through that .bat's and figure out why? I'm assuming it has something to do with those.
Terribly sorry I forgot to make a note of any messages that occur when the server crashes, I'm running the server with the original .bat now so if needed I can switch back and make it crash post what messages I receive. I know all players get disconnected, the server window stays open and no one can reconnect. I can't type "stop" to shut down, I have to 'x' out of it and start the sever again.
Thanks all.