這兩篇非常有幫助
1.用JRE參數減少RAM使用量、增加RAM回收率、多核心支援等
http://forums.bukkit.org/threads/help-server-crashed-craftbukkit-1000.27179/
2.將World放置於RAM Disk (目前RAM不足無法實裝)
http://forums.bukkit.org/threads/how-to-improve-mincraft-server-performance.662/
這兩篇非常有幫助
1.用JRE參數減少RAM使用量、增加RAM回收率、多核心支援等
http://forums.bukkit.org/threads/help-server-crashed-craftbukkit-1000.27179/
2.將World放置於RAM Disk (目前RAM不足無法實裝)
http://forums.bukkit.org/threads/how-to-improve-mincraft-server-performance.662/
http://dev.bukkit.org/server-mods/nolagg/
更改了設定後,經過簡單的壓力測試也不會當機囉…
祝各位有個美好的Minecraft時光
http://dev.bukkit.org/server-mods/authme-reloaded/
更新 AuthMe 至2.6.6b2版同時將Craftbukkit更新至1.2.5-R3.0版
修正相同IP註冊bug!
Changes 2.6.6b2:
now really fix double registration on same ip
add new CitizensApi for Citizens 2.0 (Still works with Citizens1.2)
delete player cache if player is unregistered
add new way for handler player invetory loss on first registration
cleanup the code
Changes 2.6.6b1:
fixed spout login gui that cannot be really disabled
fixed heath regeneration when unlogged in
fixed some teleport usses near portal when unlogged
fixed unregistration and registration dupe bug
fixed bug where 2 account are able to regiser on same ip.
attempt to fix lost of items on /registration and second login (need more test and feedback )
initial strutcture for log-system and inventory serialize
clean up the code
AuthMe會修改封包,以致於1.2.5-R3.0產生java.lang.NullPointerException找不到資料的狀況…NetServerHandler便停止服務。
我們又遭遇相同bug當機問題
這個bug發生時,僅網路區塊停止連線
console管理端及世界皆繼續運作
且維持正常的20 ticks per second
目前已將伺服版本降回1.2.5-R1.0
很抱歉造成各位的困擾
補上log..
2012-05-31 21:46:12 [SEVERE] java.lang.NullPointerException
2012-05-31 21:46:12 [SEVERE] at net.minecraft.server.NetServerHandler.sendPacket(NetServerHandler.java:681)
2012-05-31 21:46:12 [SEVERE] at net.minecraft.server.EntityTrackerEntry.updatePlayer(EntityTrackerEntry.java:235)
2012-05-31 21:46:12 [SEVERE] at net.minecraft.server.EntityTrackerEntry.scanPlayers(EntityTrackerEntry.java:281)
2012-05-31 21:46:12 [SEVERE] at net.minecraft.server.EntityTrackerEntry.track(EntityTrackerEntry.java:62)
2012-05-31 21:46:12 [SEVERE] at net.minecraft.server.EntityTracker.updatePlayers(EntityTracker.java:132)
2012-05-31 21:46:12 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:572)
2012-05-31 21:46:12 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
2012-05-31 21:46:12 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
2012-05-31 21:46:12 [SEVERE] Unexpected exception
java.lang.NullPointerException
at net.minecraft.server.NetServerHandler.sendPacket(NetServerHandler.java:681)
at net.minecraft.server.EntityTrackerEntry.updatePlayer(EntityTrackerEntry.java:235)
at net.minecraft.server.EntityTrackerEntry.scanPlayers(EntityTrackerEntry.java:281)
at net.minecraft.server.EntityTrackerEntry.track(EntityTrackerEntry.java:62)
at net.minecraft.server.EntityTracker.updatePlayers(EntityTracker.java:132)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:572)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
2012-05-31 21:46:49 [INFO] Connection reset
似乎是服務端連線程式發生問題
換成Craftbukkit 1.2.5-R3.0後第一次碰到此問題
若再次發生將降回 1.2.5-R1.0 版本
詳細錯誤訊息:
2012-05-31 16:33:45 [SEVERE] java.lang.NullPointerException
2012-05-31 16:33:45 [SEVERE] at net.minecraft.server.NetServerHandler.sendPacket(NetServerHandler.java:681)
2012-05-31 16:33:45 [SEVERE] at net.minecraft.server.EntityTrackerEntry.updatePlayer(EntityTrackerEntry.java:235)
2012-05-31 16:33:45 [SEVERE] at net.minecraft.server.EntityTracker.updatePlayers(EntityTracker.java:146)
2012-05-31 16:33:45 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:572)
2012-05-31 16:33:45 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
2012-05-31 16:33:45 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
2012-05-31 16:33:45 [SEVERE] Unexpected exception
java.lang.NullPointerException
at net.minecraft.server.NetServerHandler.sendPacket(NetServerHandler.java:681)
at net.minecraft.server.EntityTrackerEntry.updatePlayer(EntityTrackerEntry.java:235)
at net.minecraft.server.EntityTracker.updatePlayers(EntityTracker.java:146)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:572)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
2012-05-31 16:34:11 [INFO] Connection reset
目前已找到線上地圖的解決方案
原先繪製地圖時會造成伺服器嚴重LAG的問題
現在改以外部伺服器協助繪製地圖
於每天07:30開始繪製06:00所備份之遊戲紀錄
可能造成些微LAG的情況,敬請見諒
玩家若有需要仍可使用 /dynmap render 指令立即更新所在區域的線上地圖