Linkin Park Posted August 25, 2012 Posted August 25, 2012 Hi, I've installed gdb in my host, compiled the server with --enable-debug=gdb, started the server through ./athena-start start command in putty, however at random time, the map-server crashes and it doesn't generate any crash dumps / core dumps. Quote
Asura Posted August 25, 2012 Posted August 25, 2012 Hi RaGERO, You still need to do the following... File: /etc/security/limits.conf Change... #* soft core 0 To... * soft core unlimited File: /etc/profile Change... # No core files by default #ulimit -S -c 0 > /dev/null 2>&1 To... # No core files by default ulimit -S -c 0 > /dev/null 2>&1 Type this in SSH/Terminal... ulimit -c unlimited Proceed to reboot your server, and then re-compile with --enable-debug=gdb once more. Now you may proceed to start your Athena server and it should generate the .core dump. 2 Quote
Linkin Park Posted August 26, 2012 Author Posted August 26, 2012 Followed what you said and still it doesn't generate core file Quote
Asura Posted August 26, 2012 Posted August 26, 2012 Followed what you said and still it doesn't generate core file Hi RaGERO, Did the server crash already? It's suppose to generate the core file within the trunk folder once it has crashed. You may also search for the .core file by using the following commands via Terminal. updatedb locate *.core Quote
Brynner Posted July 6, 2013 Posted July 6, 2013 (edited) Followed what you said and still it doesn't generate core file Hi RaGERO,Did the server crash already? It's suppose to generate the core file within the trunk folder once it has crashed. You may also search for the .core file by using the following commands via Terminal. updatedb locate *.core how can i read the *core* crash data for asura? Edited July 6, 2013 by Brynner Quote
ccjosh Posted July 18, 2013 Posted July 18, 2013 cd /path/to/rathena/ ls -lhart #there should be a core file here, usually its the last file after the map server crashes. gdb map-server_sql <core file> #without the < > bt full Quote
mrlongshen Posted August 13, 2013 Posted August 13, 2013 cd /path/to/rathena/ ls -lhart #there should be a core file here, usually its the last file after the map server crashes. gdb map-server_sql <core file> #without the < > bt full i try this. but only no stack ? Quote
ccjosh Posted August 13, 2013 Posted August 13, 2013 Have you tried, bt full <core file> Make sure there was a generated core file do a ls -lhrt to see the latest updated file, usually the core file is the last one after a server crash Quote
mrlongshen Posted August 13, 2013 Posted August 13, 2013 Have you tried, bt full <core file> Make sure there was a generated core file do a ls -lhrt to see the latest updated file, usually the core file is the last one after a server crash my map-server is not crash, but cannot start due to hpm plugins. sory im using hercules. if i disable the plugin, it works fine. really weird. Quote
Asura Posted August 13, 2013 Posted August 13, 2013 Have you tried, bt full <core file> Make sure there was a generated core file do a ls -lhrt to see the latest updated file, usually the core file is the last one after a server crash my map-server is not crash, but cannot start due to hpm plugins. sory im using hercules. if i disable the plugin, it works fine. really weird. Hi mrlongshen, You should probably contact the plugin developer then, or the Hercules community; maybe the plugin was not compiled correctly? Quote
Question
Linkin Park
Hi,
I've installed gdb in my host, compiled the server with --enable-debug=gdb, started the server through ./athena-start start command in putty,
however at random time, the map-server crashes and it doesn't generate any crash dumps / core dumps.
9 answers to this question
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.