From 3c67b04817c6f397775e8e50535ddc6ee751dbfa Mon Sep 17 00:00:00 2001 From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com> Date: Mon, 23 Jul 2018 14:39:34 +0000 Subject: [PATCH] Decreased thread and connection configs to prevent VPS issues. --- L2J_Mobius_1.0_Ertheia/dist/game/config/Server.ini | 10 +++++----- L2J_Mobius_2.5_Underground/dist/game/config/Server.ini | 10 +++++----- L2J_Mobius_3.0_Helios/dist/game/config/Server.ini | 10 +++++----- .../dist/game/config/Server.ini | 10 +++++----- .../dist/game/config/main/developer.ini | 4 ++-- .../dist/game/config/network/gameserver.ini | 2 +- L2J_Mobius_CT_2.6_HighFive/dist/game/config/Server.ini | 10 +++++----- .../dist/game/config/Server.ini | 10 +++++----- .../dist/game/config/Server.ini | 10 +++++----- .../dist/game/config/Server.ini | 10 +++++----- 10 files changed, 43 insertions(+), 43 deletions(-) diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/config/Server.ini b/L2J_Mobius_1.0_Ertheia/dist/game/config/Server.ini index 5c4982e3d4..0f59047ecb 100644 --- a/L2J_Mobius_1.0_Ertheia/dist/game/config/Server.ini +++ b/L2J_Mobius_1.0_Ertheia/dist/game/config/Server.ini @@ -55,8 +55,8 @@ Login = root # Database connection password Password = -# Default: 500 -MaximumDbConnections = 500 +# Default: 100 +MaximumDbConnections = 100 # Default: 0 MaximumDbIdleTime = 0 @@ -137,7 +137,7 @@ ScheduledThreadPoolCount = -1 # Specifies how many threads will be in a single scheduled pool. # Default: 4 -ThreadsPerScheduledThreadPool = 40 +ThreadsPerScheduledThreadPool = 4 # Determines the amount of instant thread pools. If set to -1, the server will decide the amount depending on the available processors. # Default: -1 @@ -145,10 +145,10 @@ InstantThreadPoolCount = -1 # Specifies how many threads will be in a single instant pool. # Default: 2 -ThreadsPerInstantThreadPool = 20 +ThreadsPerInstantThreadPool = 2 # Default: 2 -UrgentPacketThreadCoreSize = 20 +UrgentPacketThreadCoreSize = 2 # --------------------------------------------------------------------------- diff --git a/L2J_Mobius_2.5_Underground/dist/game/config/Server.ini b/L2J_Mobius_2.5_Underground/dist/game/config/Server.ini index 69046e6178..4d05f3d87d 100644 --- a/L2J_Mobius_2.5_Underground/dist/game/config/Server.ini +++ b/L2J_Mobius_2.5_Underground/dist/game/config/Server.ini @@ -55,8 +55,8 @@ Login = root # Database connection password Password = -# Default: 500 -MaximumDbConnections = 500 +# Default: 100 +MaximumDbConnections = 100 # Default: 0 MaximumDbIdleTime = 0 @@ -137,7 +137,7 @@ ScheduledThreadPoolCount = -1 # Specifies how many threads will be in a single scheduled pool. # Default: 4 -ThreadsPerScheduledThreadPool = 40 +ThreadsPerScheduledThreadPool = 4 # Determines the amount of instant thread pools. If set to -1, the server will decide the amount depending on the available processors. # Default: -1 @@ -145,10 +145,10 @@ InstantThreadPoolCount = -1 # Specifies how many threads will be in a single instant pool. # Default: 2 -ThreadsPerInstantThreadPool = 20 +ThreadsPerInstantThreadPool = 2 # Default: 2 -UrgentPacketThreadCoreSize = 20 +UrgentPacketThreadCoreSize = 2 # --------------------------------------------------------------------------- diff --git a/L2J_Mobius_3.0_Helios/dist/game/config/Server.ini b/L2J_Mobius_3.0_Helios/dist/game/config/Server.ini index 02b01315c7..443be0d688 100644 --- a/L2J_Mobius_3.0_Helios/dist/game/config/Server.ini +++ b/L2J_Mobius_3.0_Helios/dist/game/config/Server.ini @@ -55,8 +55,8 @@ Login = root # Database connection password Password = -# Default: 500 -MaximumDbConnections = 500 +# Default: 100 +MaximumDbConnections = 100 # Default: 0 MaximumDbIdleTime = 0 @@ -137,7 +137,7 @@ ScheduledThreadPoolCount = -1 # Specifies how many threads will be in a single scheduled pool. # Default: 4 -ThreadsPerScheduledThreadPool = 40 +ThreadsPerScheduledThreadPool = 4 # Determines the amount of instant thread pools. If set to -1, the server will decide the amount depending on the available processors. # Default: -1 @@ -145,10 +145,10 @@ InstantThreadPoolCount = -1 # Specifies how many threads will be in a single instant pool. # Default: 2 -ThreadsPerInstantThreadPool = 20 +ThreadsPerInstantThreadPool = 2 # Default: 2 -UrgentPacketThreadCoreSize = 20 +UrgentPacketThreadCoreSize = 2 # --------------------------------------------------------------------------- diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/config/Server.ini b/L2J_Mobius_4.0_GrandCrusade/dist/game/config/Server.ini index 4528e242ce..66c38ba7fe 100644 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/config/Server.ini +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/config/Server.ini @@ -55,8 +55,8 @@ Login = root # Database connection password Password = -# Default: 500 -MaximumDbConnections = 500 +# Default: 100 +MaximumDbConnections = 100 # Default: 0 MaximumDbIdleTime = 0 @@ -137,7 +137,7 @@ ScheduledThreadPoolCount = -1 # Specifies how many threads will be in a single scheduled pool. # Default: 4 -ThreadsPerScheduledThreadPool = 40 +ThreadsPerScheduledThreadPool = 4 # Determines the amount of instant thread pools. If set to -1, the server will decide the amount depending on the available processors. # Default: -1 @@ -145,10 +145,10 @@ InstantThreadPoolCount = -1 # Specifies how many threads will be in a single instant pool. # Default: 2 -ThreadsPerInstantThreadPool = 20 +ThreadsPerInstantThreadPool = 2 # Default: 2 -UrgentPacketThreadCoreSize = 20 +UrgentPacketThreadCoreSize = 2 # --------------------------------------------------------------------------- diff --git a/L2J_Mobius_C6_Interlude/dist/game/config/main/developer.ini b/L2J_Mobius_C6_Interlude/dist/game/config/main/developer.ini index d6acf1612f..e8b50ca583 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/config/main/developer.ini +++ b/L2J_Mobius_C6_Interlude/dist/game/config/main/developer.ini @@ -95,7 +95,7 @@ ScheduledThreadPoolCount = -1 # Specifies how many threads will be in a single scheduled pool. # Default: 4 -ThreadsPerScheduledThreadPool = 40 +ThreadsPerScheduledThreadPool = 4 # Determines the amount of instant thread pools. If set to -1, the server will decide the amount depending on the available processors. # Default: -1 @@ -103,7 +103,7 @@ InstantThreadPoolCount = -1 # Specifies how many threads will be in a single instant pool. # Default: 2 -ThreadsPerInstantThreadPool = 20 +ThreadsPerInstantThreadPool = 2 # This is the server id that the gameserver will request (i.e. 1 is Bartz) RequestServerID = 1 diff --git a/L2J_Mobius_C6_Interlude/dist/game/config/network/gameserver.ini b/L2J_Mobius_C6_Interlude/dist/game/config/network/gameserver.ini index 441c81821e..39d4c27754 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/config/network/gameserver.ini +++ b/L2J_Mobius_C6_Interlude/dist/game/config/network/gameserver.ini @@ -52,7 +52,7 @@ Password = # Attention: lazy init connections disabled! # Please, set only real values for your database # Default: 100 -MaximumDbConnections = 50 +MaximumDbConnections = 100 # Default: 0 MaximumDbIdleTime = 0 diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/config/Server.ini b/L2J_Mobius_CT_2.6_HighFive/dist/game/config/Server.ini index 5d08617152..49cd96b58f 100644 --- a/L2J_Mobius_CT_2.6_HighFive/dist/game/config/Server.ini +++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/config/Server.ini @@ -55,8 +55,8 @@ Login = root # Database connection password Password = -# Default: 500 -MaximumDbConnections = 500 +# Default: 100 +MaximumDbConnections = 100 # Default: 0 MaximumDbIdleTime = 0 @@ -137,7 +137,7 @@ ScheduledThreadPoolCount = -1 # Specifies how many threads will be in a single scheduled pool. # Default: 4 -ThreadsPerScheduledThreadPool = 40 +ThreadsPerScheduledThreadPool = 4 # Determines the amount of instant thread pools. If set to -1, the server will decide the amount depending on the available processors. # Default: -1 @@ -145,10 +145,10 @@ InstantThreadPoolCount = -1 # Specifies how many threads will be in a single instant pool. # Default: 2 -ThreadsPerInstantThreadPool = 20 +ThreadsPerInstantThreadPool = 2 # Default: 2 -UrgentPacketThreadCoreSize = 20 +UrgentPacketThreadCoreSize = 2 # --------------------------------------------------------------------------- diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/config/Server.ini b/L2J_Mobius_Classic_2.0_Saviors/dist/game/config/Server.ini index 9cb6f04606..3e10f3830f 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/config/Server.ini +++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/config/Server.ini @@ -55,8 +55,8 @@ Login = root # Database connection password Password = -# Default: 500 -MaximumDbConnections = 500 +# Default: 100 +MaximumDbConnections = 100 # Default: 0 MaximumDbIdleTime = 0 @@ -137,7 +137,7 @@ ScheduledThreadPoolCount = -1 # Specifies how many threads will be in a single scheduled pool. # Default: 4 -ThreadsPerScheduledThreadPool = 40 +ThreadsPerScheduledThreadPool = 4 # Determines the amount of instant thread pools. If set to -1, the server will decide the amount depending on the available processors. # Default: -1 @@ -145,10 +145,10 @@ InstantThreadPoolCount = -1 # Specifies how many threads will be in a single instant pool. # Default: 2 -ThreadsPerInstantThreadPool = 20 +ThreadsPerInstantThreadPool = 2 # Default: 2 -UrgentPacketThreadCoreSize = 20 +UrgentPacketThreadCoreSize = 2 # --------------------------------------------------------------------------- diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/config/Server.ini b/L2J_Mobius_Classic_2.1_Zaken/dist/game/config/Server.ini index 8aaa954f5f..3277d0afc1 100644 --- a/L2J_Mobius_Classic_2.1_Zaken/dist/game/config/Server.ini +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/config/Server.ini @@ -55,8 +55,8 @@ Login = root # Database connection password Password = -# Default: 500 -MaximumDbConnections = 500 +# Default: 100 +MaximumDbConnections = 100 # Default: 0 MaximumDbIdleTime = 0 @@ -137,7 +137,7 @@ ScheduledThreadPoolCount = -1 # Specifies how many threads will be in a single scheduled pool. # Default: 4 -ThreadsPerScheduledThreadPool = 40 +ThreadsPerScheduledThreadPool = 4 # Determines the amount of instant thread pools. If set to -1, the server will decide the amount depending on the available processors. # Default: -1 @@ -145,10 +145,10 @@ InstantThreadPoolCount = -1 # Specifies how many threads will be in a single instant pool. # Default: 2 -ThreadsPerInstantThreadPool = 20 +ThreadsPerInstantThreadPool = 2 # Default: 2 -UrgentPacketThreadCoreSize = 20 +UrgentPacketThreadCoreSize = 2 # --------------------------------------------------------------------------- diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/config/Server.ini b/L2J_Mobius_Classic_2.2_Antharas/dist/game/config/Server.ini index 94926c2007..51d8306029 100644 --- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/config/Server.ini +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/config/Server.ini @@ -55,8 +55,8 @@ Login = root # Database connection password Password = -# Default: 500 -MaximumDbConnections = 500 +# Default: 100 +MaximumDbConnections = 100 # Default: 0 MaximumDbIdleTime = 0 @@ -137,7 +137,7 @@ ScheduledThreadPoolCount = -1 # Specifies how many threads will be in a single scheduled pool. # Default: 4 -ThreadsPerScheduledThreadPool = 40 +ThreadsPerScheduledThreadPool = 4 # Determines the amount of instant thread pools. If set to -1, the server will decide the amount depending on the available processors. # Default: -1 @@ -145,10 +145,10 @@ InstantThreadPoolCount = -1 # Specifies how many threads will be in a single instant pool. # Default: 2 -ThreadsPerInstantThreadPool = 20 +ThreadsPerInstantThreadPool = 2 # Default: 2 -UrgentPacketThreadCoreSize = 20 +UrgentPacketThreadCoreSize = 2 # ---------------------------------------------------------------------------