Jump to content
  • 0

Map-Server Crash - no crash dumps / logs


Question

Posted

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

Posted

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.

  • Upvote 2
Posted

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

Posted (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 by Brynner
Posted


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

Posted
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 ?

Posted

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

Posted

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.

Posted

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?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...