ragnazorg Posted November 16, 2011 Group: Members Topic Count: 21 Topics Per Day: 0.00 Content Count: 250 Reputation: 44 Joined: 11/13/11 Last Seen: October 5, 2024 Share Posted November 16, 2011 So basically for years of being someone who uses eathena and 3ceam just like you guys, I noticed a lot of people saying HELP!! My server crashed blabla this blabla that. Now how can we help you if your server crashed if you're only telling us a few words or lines without the crash dumps. For Linux Servers: I bet most of you doesn't have GDB installed. If you do not have ROOT access to your server, you can try logging on via SSH and type sudo apt-get install gdb sudo aptitude install gdb Now some of you might say, command not found etc etc. If this happens and you do not have ROOT access since you're using a vps you can always ask your Host to install GDB for you. Now for Servers who have root access you can install gdb by accessing your root and type apt-get install gdb Now this is sometimes tricky.. My server didn't save the crash dumps from my last server crash!! to check if its enabled type in ulimit -c If its set to 0 then it means it is disabled and it will not save your crash dumps. Now what you have to do is type in ulimit -c 9999999 (or any big number) then to check if its now enabled type in ulimit -c again. It will give you its now Unlimited. Some problems might arise especially if you're in a VPS and you may have to ask your Hosting Provider to set this up for you since most of their system got it disabled. Meaning, no matter how you set it to unlimited it will still return back to 0. Once again your server crashed. When you check the directory of your SVN you'll see a file named core, or xxx-server_sql.core, or xxx-server.core. Normally your server wont crash if its just login/char server. So we will assume its the map server or just to check if its really the map server Login to your SSH and type in top to exit this command type q You'll see the processes your computer/server is running. From here you can verify which server crashed. Now going back since you have the core file. For example the core file is in trunk/ and its file name it map-server_sql.core all you have to do is cd trunk gdb map-server map-server_sql.core then type bt full It will show you the crash dumps and you can paste it on pastebin or copy the files here so some developer can take a look onto it. Cheers. 2 1 Quote Link to comment Share on other sites More sharing options...
zdox21 Posted February 12, 2014 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 19 Reputation: 0 Joined: 09/30/12 Last Seen: February 21, 2021 Share Posted February 12, 2014 (edited) After the fall of the server still does not appear report file! how to be? Аnd saves the file to the dump? Edited February 12, 2014 by zdox21 Quote Link to comment Share on other sites More sharing options...
pandaplaygames Posted September 16, 2014 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 113 Reputation: 2 Joined: 10/29/12 Last Seen: September 21, 2017 Share Posted September 16, 2014 (edited) I have GDB insalled but there isn't any core dump file in trunk. Should I make it or is that system generated. I feel the guide is lacking in details. Kindly expound thank you. I am having random map-server session time-outs and there are absolutely no error messages. Without help from a log, I cannot figure out why there would be issues. Edited September 16, 2014 by pandaplaygames Quote Link to comment Share on other sites More sharing options...
arteris Posted December 1, 2014 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 15 Reputation: 0 Joined: 11/01/14 Last Seen: March 9, 2016 Share Posted December 1, 2014 Hello, i've my map server is crashing randomly. So, i've tryed to use your commands, but when i put " gdb map-server map-server_sql.core " it shows this in server: GNU gdb (GDB) 7.4.1-debian Copyright © 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /root/Rathena/map-server...(no debugging symbols found)...done. /root/Rathena/map-server_sql.core: Arquivo ou diretório não encontrado. (gdb) ^CQuit (gdb) bt full No stack. (gdb) Quote Link to comment Share on other sites More sharing options...
Ardrich Posted December 5, 2014 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 26 Reputation: 0 Joined: 01/19/13 Last Seen: June 1, 2024 Share Posted December 5, 2014 Hello, i've my map server is crashing randomly. So, i've tryed to use your commands, but when i put " gdb map-server map-server_sql.core " it shows this in server: GNU gdb (GDB) 7.4.1-debian Copyright © 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /root/Rathena/map-server...(no debugging symbols found)...done. /root/Rathena/map-server_sql.core: Arquivo ou diretório não encontrado. (gdb) ^CQuit (gdb) bt full No stack. (gdb) UP for this issue. Quote Link to comment Share on other sites More sharing options...
Dissidia Posted January 19, 2015 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 535 Reputation: 23 Joined: 11/19/11 Last Seen: June 8, 2023 Share Posted January 19, 2015 up pls help. same problem with them Quote Link to comment Share on other sites More sharing options...
Dissidia Posted April 6, 2017 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 535 Reputation: 23 Joined: 11/19/11 Last Seen: June 8, 2023 Share Posted April 6, 2017 remove the .core. it will fix the issue. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.