Open justLxy opened 2 years ago
Error does indicate that you run out of memory, double memory usage during server usage. You can do that with /cmi status or any other plugin or software you have available to check this. And how often does this happen? How long it takes for server to crash after start up?
Error does indicate that you run out of memory, double memory usage during server usage. You can do that with /cmi status or any other plugin or software you have available to check this. And how often does this happen? How long it takes for server to crash after start up?
like 15-20 minutes. I've tried with /cmi status and sometimes the server thread count goes to about 100-3000, or sometimes it goes straight to about 10000.
What about actual memory usage at that time when it goes to 10000 threads? An no, that amount of threads is not normal. And does this happen with players online or do you experience same crash without anyone or just few?
What about actual memory usage at that time when it goes to 10000 threads? An no, that amount of threads is not normal. And does this happen with players online or do you experience same crash without anyone or just few?
The memory usage is not a lot when the threads reach 10,000+. Yes, the server will crash regardless of any number of players.
Try running https://www.spigotmc.org/resources/spark.57242/ profiler which might produce some decent results and give some idea whats going on and why you have so many open threads on your server. Other than this its really hard to say, as its quite isolated issue. You could try, if possible, update Java version to v16 or v17, as your v11 is outdated at this point.
Step 1 is to properly configure the server, you can review your startup flags for example with https://flags.sh/ Step 2 is to not give it a billion ram, it just means you have more in ram to process by plugins, and things can stack up, memory leaks will build up dramatically, and main thread will get even more delays until plugins that work fine start timing out their scheduled tasks or whatever. Step 3 is to configure the plugin to work with that type of size of the server.
Description of Issue
my server crashes after I install the CMI after a while, I'm currently set up with 40G of memory, but the server crashes no matter how big or small the memory is. Yes, I'm using the latest version of cmi and cmilib.
Version Information
Errors
Relevant Config Sections
Relevant Plugins
vault 1.7.3
Agreements