ragnazorg Posted November 19, 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 19, 2011 (edited) So you're a dedicated server owner and your server crashed but it didn't save your core or crash dumps. How to enable it? Login with your root account. Look for etc/security/limits.conf make sure to un-comment this line. #* soft core unlimited Do remember # means its commented. Now if you want to remove the comment it should be * soft core unlimited Then restart your server. Edited November 19, 2011 by ragnazorg Quote Link to comment Share on other sites More sharing options...
Shinryo Posted November 19, 2011 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 61 Reputation: 153 Joined: 11/10/11 Last Seen: June 1, 2020 Share Posted November 19, 2011 (edited) There are more steps involved to get core dumps that have detailed information about the crash reason. First, eAthena has to be configured to enable debugging (e.g. for gdb): ./configure --enable-debug=gdb If you don't want to edit the limits in the post above, but only for the current running shell, then use this: ulimit -c unlimited More about this here: http://compute.cnr.b...an-cgi?ulimit+2 You can run the server now. Afterwards,you will have a file named 'core' (or something similiar) within your eAthena folder as soon as the server crashes. Use this to get detailed information: gdb <server> <core>, e.g. gdb map-server_sql core You may have to install gdb first with 'apt-get install gdb', however, inside gdb enter this to get detailed information: bt full It will display a call stack where the last called function is at top. There's also a line displayed to show you where the crash happened. Go ahead and check this line to fix it. Edited November 22, 2011 by Shinryo 2 Quote Link to comment Share on other sites More sharing options...
QQfoolsorellina Posted March 14, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 587 Reputation: 105 Joined: 11/19/11 Last Seen: July 7, 2019 Share Posted March 14, 2012 Is it possible and how to enable coredumps on windows xp ? Quote Link to comment Share on other sites More sharing options...
Petey Pablo Posted October 15, 2012 Group: Members Topic Count: 152 Topics Per Day: 0.03 Content Count: 569 Reputation: 11 Joined: 11/24/11 Last Seen: March 7, 2022 Share Posted October 15, 2012 Compile problem. See the image below 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.