heey guys . so im working on a core plugin that make server freeze after like 10 minutes . console will die and anything will stop working and freeze . do you have any idea about how could i find the cuz of it ?
Don't you have things organized? Look in the files you schedule the tasks. Then you can start from there to track things down.
Maybe using timings when server start use this commands /timings on When server freeze/ lagging try /timings paste
Logging in the debug logger: PHP: $this->getLogger()->debug(“Debug bla bla John somethin”); You can enable console debug in pocketmine.yml.
the problem is that whole server will freeze . also an update . this problem happens sometimes after AutoSaving . the problem is core for sure . but i didnt found anything in the plugin messing with autosaving
If you couldn’t find anything wrong in your core, then the reason cant be the core. Perhaps the server is overloaded? Try upgrading your ram