Deadlock detected, aborting the server (build id: #396) - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html) +--- Forum: Discussion (https://forum.cuberite.org/forum-5.html) +--- Thread: Deadlock detected, aborting the server (build id: #396) (/thread-2396.html) Pages:
1
2
|
Deadlock detected, aborting the server (build id: #396) - TheSnowman - 03-04-2016 Hi@all, and sorry, if my problem maybe exists within another / older post, but I didn't find anything regarding my problem. May be I've did something wrong or not in the right way, but I'm not a regulary Linux User, so please forgive me ;-) I've installed some weeks ago on my Pi 2 a current raspbian version and some days ago the current version of Cuberite - the server starts fine, in my point of view ;-) Code: Linux MC-RASPI 4.1.7-v7+ #817 SMP PREEMPT Sat Sep 19 15:32:00 BST 2015 armv7l My son and his friend are playing a little bit in the Cuberite-created world and after some undefined actions / minutes the server crashes and writes the following messages: Code: [16:57:16] Deadlock detected, aborting the server After starting the server again, the last view minutes of playing are not saved. And this kind of Deadlock happens very often, so gaming with that situation is not funny... What could I do? Did I do something wrong? Should I change the configuration? What else information you need to make an analyse? Thank you in advance. RE: Deadlock detected, aborting the server (build id: #396) - Rekuen - 03-04-2016 Could you post your Deadlock settings? You can find them in the settings.ini file. (edit by xoft: removed the needless quote) RE: Deadlock detected, aborting the server (build id: #396) - Seadragon91 - 03-04-2016 If you are exploring the world much and quick (visiting not generated chunks), can overload the chunk generator and cause a deadlock. Another possible is that a combination of actions, could run into a deadlock. RE: Deadlock detected, aborting the server (build id: #396) - NiLSPACE - 03-04-2016 Probably the latter. You'll have to generate allot of chunks to overload the chunk generator. Were you doing anything that made the server stop responding? RE: Deadlock detected, aborting the server (build id: #396) - Schwertspize - 03-04-2016 Maybe this is related to my crash some time ago. I executed /regen too often i think (power tool.....) RE: Deadlock detected, aborting the server (build id: #396) - xoft - 03-04-2016 Hello, and welcome to the forum. A deadlock could be caused by a multitude of factors, most of them point at some issues at the program itself. We need more information in order to be able to identify the problem. The server should produce a "core" file when it stops with a deadlock, have a look in the server's folder if there is such a file; if so, please post it somewhere online for us to analyse. If the file is not there, you should do a "ulimit -c unlimited" just before launching the server, this will tell the OS to allow creation of such files. Thanks. RE: Deadlock detected, aborting the server (build id: #396) - TheSnowman - 03-04-2016 Hello @ all and thanks for your multiple reply! I will try to answer all your questions as fast as I can: Deadlock-Settings within the settings.ini: I didn't even know, that there are Deadlock Settings! Here are the (standard) entry of my settings.ini: Code: [DeadlockDetect] About the "core" file: has this file to be directly into the Server folder or in any kind if subfolder? Within the subfolder there isn't such a file with that name... I've just executed your command "ulimited..." and started the Cuberite Server. Now waiting for my son, comming back from school and testing the server. As soon as we have the next Deadlock, I will have a look, if this had produced a core-File and will make that File available for you... Is it possible to attach it here? Just a hint, because I've forgot to tell in my first post and maybe it's part of the problem... To run Minecraft, I start it within byobu, because screen didn't work on my raspbian / Pi 2... I don't know, if this is important for your analyze... Thank you so much for your help RE: Deadlock detected, aborting the server (build id: #396) - TheSnowman - 03-04-2016 OK, we had another Deadlock and the Server wrote a Core File - i hope you can download it from my Google Drive: https://drive.google.com/folderview?id=0BzEt4qR9JqzZQXlkVTVNeVEzZmM&usp=sharing I compressed it with 7-zip Version 9.20 without any password: core.7z RE: Deadlock detected, aborting the server (build id: #396) - xoft - 03-04-2016 It would be great if you could add the server log corresponding to that core file. The logs are in the "logs/" subfolder. Okay, linux guys, anyone up for the analysis? RE: Deadlock detected, aborting the server (build id: #396) - TheSnowman - 03-04-2016 I've added the Server Logs to the 7-zip-File "Cuberite-Server-Logs.7z" and uploaded it into the same Google-Drive folder as the Core File (see post before) |