Jump to content
  • 0

How to enable core dumps? CENTOS


Jin Freecs

Question


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  63
  • Reputation:   3
  • Joined:  12/22/11
  • Last Seen:  

Anyone can help with this problem i suffer to this problem more than a month i tried all my best and knowledge but until now every time my map server crash it didn't produce crash core dump. ive already follow all this guides.

And also my host already enable the ( ulimit unlimited ) i already tried all the guides many times and rebooted my vps many times but until now i didn't get any crash dump.

anyone can help me with this problem??

Regards

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  250
  • Reputation:   44
  • Joined:  11/13/11
  • Last Seen:  

Did you check if its still unlimited? every after restart?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  63
  • Reputation:   3
  • Joined:  12/22/11
  • Last Seen:  

Yes its unlimited and when i try to check the svn folder i can't see any map-server_sql.core. im using winscp. after i installed the gdb the map-server_sql.core automatically create inside my svn folder right? or every time my server map crash the gdb will create map-server_sql.core right?

thanks for the fast reply

Here are the screenshots of my putty and winscp

9r4vbb.png

x6j4nb.png

Edited by Jin Freecs
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  250
  • Reputation:   44
  • Joined:  11/13/11
  • Last Seen:  

Do you have gdb installed?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  198
  • Reputation:   102
  • Joined:  11/13/11
  • Last Seen:  

Do you compiled your emulator with option: --enable-debug=gdb?

Will not save the log, if you do not enable it.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  63
  • Reputation:   3
  • Joined:  12/22/11
  • Last Seen:  

@ragnazorg

Yes gdb already installed

1054eo8.png

@Protimus

Yes first i go to my eathena folder using cd /eathena then i run the

./configure --enable-debug=gdb

After that i run this

ulimit -c unlimited

Then after that i try to check my map core using this

gdb <serve <core>, e.g.

gdb map-server_sql core

But look carefully the screenshot

9r4vbb.png

map-server: No Such file or directory <-------- i dont know what is that

Edited by Jin Freecs
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

Hi Jin Freecs,

Make sure you are inside your trunk/rAthena folder before performing that command.

It should be 'gdb map-server_sql map-server_sql.core'.

Link to comment
Share on other sites

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.

×
×
  • Create New...