hi, my server is running fine but sometimes all players are deconnected at same time : logged out due to timeout the server don't crash but all players are deconnected how to find the problem ? sorry for my bad english
I might be wrong, but that sounds like a network problem to me. Are you running the server locally or on a remote server? On Linux you can run tools such as nload to monitor bandwidth usage.
@Awzaw is this setup pocketmine.yml correct ? server memory-limit=4024M for 50 players max Code: memory: #Global soft memory limit in megabytes. Set to 0 to disable #This will trigger low-memory-triggers and fire an event to free memory when the usage goes over this global-limit: 0 #Main thread soft memory limit in megabytes. Set to 0 to disable #This will trigger low-memory-triggers and fire an event to free memory when the usage goes over this main-limit: 0 #Main thread hard memory limit in megabytes. Set to 0 to disable #This will stop the server when the limit is surpassed main-hard-limit: 0 #AsyncWorker threads' hard memory limit in megabytes. Set to 0 to disable #This will crash the task currently executing on the worker if the task exceeds the limit #NOTE: THIS LIMIT APPLIES PER WORKER, NOT TO THE WHOLE PROCESS. async-worker-hard-limit: 256
This has happened to my server since 2016. Sudden mass timeouts however, it can't be a network problem. Because for me not everyone disconnects. About 70% of players disconnect while the others remain unaffected.
do you solve that and how ? can this be probems of, plugins, config pmmp, php version, wrong setupon config.yml ? thanks
Haven’t yet found a solution. It _might_ be a plugin issue because im sure it would have been fixed by now if it was a core issue or atleast this problem would be occurring to everyone but I can’t be sure. I don’t think its a php version or config related issue
If not everyone disconnects it could still be a network issue, or simply insufficient server resources. Which host are you using and what are the specs - including bandwidth? Also worth considering are that you could be undergoing DDOS attacks with no hardware DDOS protection. How many players are connected when it happens and is there a pattern? Do you have root ssh access and can you run a tool such as nload while it happens?
@Awzaw My server is hosted in france (hostmyservers in france and host-mcpe.us in US) server have a DDOS protection and ping is good < to 10 ms in Europe it happens randomly average 3 to 20 players i think it's a plugin issue (25 plugins) or a corrupted map i don't know to reproduce the issue server don't crash just all players are logged out due to timeout sorry for my bad english
34 plugins and not 25 ; - ) Code: Plugins (34): essentialsTP v1.2.1, CustomAlerts v2, PurePerms v1.4.2, CombatLogger v0.0.5, MysteryCrate v6.2.0, AntiSpamPro v1.4.1, BestCasino v2.1.1, MCPEToDiscord v1.3.2, KitUI v1.3.0, Slapper v1.4.0, DevTools v1.13.0, LiveXYZ v0.7.0, Worlds v2.0.3, PiggyCustomEnchants v1.2.0, TimeRanks v2.1.1, TempBanUI v1.5, VanillaEnchantments v3.1.0_ALPHA, RealTime v2.1.3, AlwaysSpawn v2.2.4, WorldBorder v1.1, iProtector v3.1.1, EconomyAPI v5.7.2, MagicWE2 v5.7.2, FormAPI v1.2.0, Swim v1.0.0, BanItem v2.3.3, AutoClearLagg v2.0.0, VoteReward v3.0.3, VPNGuard v1.0.7, EconomyShop v2.0.9, EconomySell v2.0.8, FactionsPro v1.3.12, GrabBag v2.4.4, PureChat v1.4.11 thanks
Can you try running the server without MCPEToDiscord and/or VPNGuard? They're both more network-related than other plugins.
Looking at your plugin versions, some of them (e.g CombatLogger 0.0.5) shouldn't be able to run on the same version of pocketmine as other plugins... Have you changed API versions in plugin.yml to force them to load?
@Awzaw yes.. i changed API versions in plugin.yml in some of them for CombatLogger API 3.0.0 i use this branch https://github.com/RumBenCraftPE/PocketMine-Plugins-1/tree/master/CombatLogger But i have same issue "massive logged out due to timeout" if i use latest stable version of PMMP and all plugin in API 3.0.0 https://jenkins.pmmp.io/job/PocketMine-MP/1269/ sorry for my bad english thanks
i try running server without MCPEToDiscord and/or VPNGuard same errors for all players at same time : logged out due to timeout sometimes there is this error just before RakLibServer thread/NOTICE]: Blocked ip xx.xx.xx.xxx for 300 seconds
then in the day, on average 6 disconnection i did that but no success. for about an hour after restarting the server i have many massive all players logged out due to timeout and/or RakLibServer Blocked ip xx.xx.xx.xxx for 300 seconds then in the day, on average 6/10 disconnections all players logged out due to timeout but 0 RakLibServer error Blocked ip xx.xx.xx.xxx for 300 seconds I removed one by one all the plugins not necessary but without success My server config : PocketMine-MP version 1269 uname -a: Linux g1 4.5.0-0.bpo.2-amd64 #1 SMP Debian 4.5.4-1~bpo8+1 (2016-05-13) x86_64 PHP Version: 7.2.7 Zend version: 3.2.0 OS : Linux do you think a corrupted map can cause timout error ? thanks