New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynmap Spigot Server crashing #2324
Comments
Hard to tell from what you provided as that's just the thread dump and not what happened before it. |
Just added versions 3.0 alpha 3 to see if anything happens. I've read the log completely and there is nothing to indicate an issue, just how a normal server log looks. If anything happens again after putting in the new version I will add it to the thread |
okay, but didn't you state that the server crashed after putting in the 2.6 version? Are you saying now that you have version 3 the server no longer crashed and all plugins (including Dynmap) loaded with no warnings or errors at all. My point being is that what looks normal to you for a startup does not necessarily there isn't another problem that may be causing drop issues with this one. We don't have that visibility so providing a full startup log and the point where the error occurs will give us 95% of the data we need to troubleshoot it. Just to also iterate that putting in the dynmap into the plugins folder doesn't automatically mean it will work because there are required configuration.txt file changes and permissions to be added to make it work properly. If you have WorldBorder installed, then a /wb fill once the border is set should be run. |
@vic197 Nothing in your log to suggest Dynmap as an involved party. From looks of it, I see multiple threads blocked trying to do file I/O, which might suggest a file system problem (e.g. if you were running on a network share or had load/performance issues with the drive). The exception is on the server thread, and dynmap isn't part of the stack shown - the fact that other threads are present with dynmap's name doesn't imply anything other than that dynmap has a thread pool. If you have any more information on whether 3.0-alpha-3 works well for you, I'd be interested in hearing! |
Update: So with the new version, still prevalent. What happens is the server will freeze and so will the computer. I have 7gb of ram allocated to it. Here is a log from start to finish, for some reason it took 20 minutes for the server to say "Done." @mikeprimm (@'ing you because you are interested in my issue) |
I have to concur with Mike - the logs show a warning with AnimatedFrames (trivial), but then ClearLag was the last entry before the thread dump and server crash. I would investigate ClearLag first and work backwards since the thread dump is a result of one of the last actions taken that wasn't handled well. I did notice one thing though during the initialization of Dynmap you have playermove enabled in the configuration.txt file for when to update renders which comes at a price. I don't believe this is the root cause as something else is clearly wrong, but what happens if you use the default OOTB settings below. Again, Dynmap didn't make it to the point of rendering when the thread dump happened.
|
ah - playermove is really a bad one (been there forever, and off by default, but it is a really expensive one to have on, since players moving in chunks that otherwise don't get changed will be marked for rerender, which is really excessive). |
Alright. Will fix the playermove in config. But I am not sure how that is a cause because it will crash even when the server is empty for days. Once again I removed the plugin and the crashing seized. But I will troubleshoot dynmap by having that plugin by itself and adding each plugin one by one, might be conflicting or something like that. Will see clearlag, but I can see how animated frames could be an issue. I will update you guys as soon as I get to it |
sounds good @vic197 - I don't think the playermove or Dynmap for that matter is causing the crash. Animated Frames might be?? But ClearLag was the last entry before thread dumping. I can tell you for sure that one of the plugins I use will shut the server down if it has a severe exception (like when we moved to 1.13). Not the best behavior, but there are some that will do this. |
From your original log, I'd pay attention to the line: java.io.FileNotFoundException: .\world\level.dat_new (The process cannot access the file because it is being used by another process) This is a very big deal - the level.* files under world data are critical files, and MC not being able to write/update them, even during shutdown, is pretty darn huge problem. Dynmap doesn't access them, but I could see tools like world backup tools or world editors doing so - the other classic reason to see an error like this is that a second server instance is running (whether started after the first, or due to an incomplete shutdown from a previous run), both of which are ways to potentially mangle world data. The other consideration to put in your investigation: Dynmap generates world activity if it is rendering, not dissimilar to a user (as far as chunks loading and unloading), but much more persistently and comprehensively. If you want to evaluate the impact of its presence vs its activity, consider doing a 'dynmap pause all', which will suspend all rendering, vs removing the plugin. |
@vic197 - related to the error with AnimatedFrames, the developer just updated AnimatedFrames and MapManager resources to 1.13.x. Give those a shot to see if it at least fixes that bug. |
I have narrowed down my random crashing to dynmap. It has been going on since I added it. I am not rendering or filling anything, just having the plugin on makes the server crash. First the server stops responding then this is what the server spits out
https://pastebin.com/0RSrhCh0
The text was updated successfully, but these errors were encountered: