Răsfoiți Sursa

Accidental commit..

_DS_ 15 ani în urmă
părinte
comite
d67afdd693

+ 16 - 0
L2_GameServer/java/com/l2jserver/status/GameStatusThread.java

@@ -684,6 +684,22 @@ public class GameStatusThread extends Thread
                 			out = new OutputStreamWriter(fos, "UTF-8");
                 			out.write(str);
                 		}
+                		else if(dbg.equals("IOPacketTP"))
+                		{
+                			String str = ThreadPoolManager.getInstance().getIOPacketStats();
+                			_print.println(str);
+                			int i = 0;
+                			File f = new File("./log/StackTrace-IOPacketTP-"+i+".txt");
+                			while(f.exists())
+                			{
+                				i++;
+                				f = new File("./log/StackTrace-IOPacketTP-"+i+".txt");
+                			}
+                			f.getParentFile().mkdirs();
+                			fos = new FileOutputStream(f);
+                			out = new OutputStreamWriter(fos, "UTF-8");
+                			out.write(str);
+                		}
                 		else if(dbg.equals("GeneralTP"))
                 		{
                 			String str = ThreadPoolManager.getInstance().getGeneralStats();

+ 3 - 29
L2_GameServer/java/config/General.properties

@@ -133,6 +133,9 @@ ThreadPoolSizeEffects = 10
 # Default: 13
 ThreadPoolSizeGeneral = 13
 
+# Default: 2
+UrgentPacketThreadCoreSize = 2
+
 # Default: 4
 GeneralPacketThreadCoreSize = 4
 
@@ -155,35 +158,6 @@ DeadLockCheckInterval = 20
 RestartOnDeadlock = False
 
 
-# ---------------------------------------------------------------------------
-# Client packet queue tuning
-# ---------------------------------------------------------------------------
-# Queue size, do not set it too low !
-# 0 - use value MaxReadPerPass + 2 (from mmo.properties)
-# Default: 0
-ClientPacketQueueSize = 0
-
-# After queue overflow all packets will be dropped
-# until queue size decreased to the Low Watermark
-# Should be lower than ClientPacketQueueSize but greater than 0 !
-# Default: 2
-ClientPacketQueueLowWatermark = 2
-
-# Maximum number of queue overflows per minute.
-# Player will be kicked in case of packet flooding.
-# Default: 2
-ClientPacketQueueMaxOverflowsPerMin = 2
-
-# Maximum number of packets in burst.
-# Execution will be aborted and thread released if more packets executed in raw.
-# Default: 15
-ClientPacketQueueMaxBurstSize = 15
-
-# Maximum number of packet bursts per minute
-# Default: 4
-ClientPacketQueueMaxBurstsPerMin = 4
-
-
 # ---------------------------------------------------------------------------
 # Optimization
 # ---------------------------------------------------------------------------