Memory problems and a Minecraft server.

Status
This thread has been locked.

Linebeck

Captain
Premium
Feedback score
4
Posts
58
Reactions
13
Resources
0
Ok, so I have around 38 plugins, and 5gbs of ram. I check console on a regular basis and hardly ever find errors etc. When I do they're small like: "handleDisconnection() called twice" or something like: "There may be a plugin problem it took 5.0ms to respond", etc. I would like to know if there is a way to find out how much ram or tps a plugin takes up. I also would like to find any memory leaks or exploits if possible. If anyone could help me, that would be great!

Thanks.
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

YourPanda

Retired Moderator
Supreme
Feedback score
34
Posts
3,287
Reactions
1,310
Resources
0
Well, I assume you know what /gc is, that will show you allocated memory, as well as free memory. However, checking console for plugins that will take up a lot of memory is not a way to go. The best way is to contact the dev's of the plugins, and ask them if it is a light weight plugin, or one that puts a good bit of stress on the server.

However, unless the server is severely lagging, I would not find this to be an issue.
 

Linebeck

Captain
Premium
Feedback score
4
Posts
58
Reactions
13
Resources
0
That is a rather usual situation with plugins that are poorly optimized or that have synchronous poorly made queries. Without full access, you can't get a lot of information, but there are a few utility plugins out there that can help you figure out the cause. You can do some timings reports using the spigot timings function, and grab the URL from that and post it here. Also try using the following plugin to get more information on where your issue might be : https://www.spigotmc.org/resources/lagmonitor.21348/

There are many reasons why the server might hang, a lot of them unrelated to any plugins even. Do some more testing and return with the results.


The plugin that gave me the error was essentials. I did /gm c prior before getting the error. However I re-uploaded the jar, and no problems now.
 
Status
This thread has been locked.
Top