Jump to content

Vengeance

Members
  • Posts

    65
  • Joined

  • Last visited

Posts posted by Vengeance

  1. Hi Vengeance,

    Ah, so it looks to be a memory leak with no crash. Well, I'm no good with this; it's obviously something the developers recently added which is causing this to happen... Probably have to check the change logs to see :(.

    Is there any possibility that webhosting/vps/flux would also be a reason to cause this.. ?? As im facing almost the same issue on eathena and rathena both...

  2. Well Asura I used your method but after the crash when I login into that screen it wont be in gdb anymore.. it will be out of gdb promt.. looks like some wierd error of VPS as i shifted to eathena and still have a similiar issue.. in eathena i keep getting - Session #6 timed out..

  3. Hi Vengeance,

     

    Then perform everything in a screen session; so when the map-server crashes, you can just re-attach to that screen and perform 'bt full'.

     

    screen
    cd /location/to/trunk
    gdb ./map-server_sql
    run

    Then you are safe to exit PuTTY with it running. Once the map server crashes, log back into PuTTY and find the current screen PID.

     

    screen -ls

     

    The ID is the # value; so then you want to re-attach to that screen by performing this command...

     

    screen -x #

    This is great,,

     

     

    thank you very much its so greatly explained...

  4. Hi Vengeance,

     

    Within the SSH terminal, you type the following commands...
     
    cd /root/Desktop/trunk
    gdb ./map-server_sql
    run
     
    Then the process of the map-server_sql will start running. After it receives the crash signal, you would need to type;
     
    bt full
     
    Finally, you get the debug report that you need.

    Thank you very much Asura.. I have done as you said.. Now let me wait when the map server crashes (hope it doesnt)

    Asura tell me one thing.. My putty closes after a while so how will i be able to use the bt full command if the putty closes...??

  5.  

    Anakid as told before I have seen all this and installed accordingly but after the map server crashed I used this command

    gdb map-server_sql map-server_sql.core

     

    But got this error

    [root@server trunk]# gdb map-server_sql map-server_sql.core
    GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1)
    Copyright © 2010 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 "i686-redhat-linux-gnu".
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>...
    Reading symbols from /root/trunk/map-server_sql...done.
    /root/trunk/map-server_sql.core: No such file or directory.
    (gdb)
  6. I have installed and done settings according to the topics available in rathene..

     

    Yet in my VPS the GDB is not working..

     

    I have a CentOS 5.8 and installed GDB can anyone help me with this.. ??

  7. Ok I have enabled and installed the GDB let me see what it says when the error occurs...



    my map-server_sql will suddenly spike to 99% ram and after some time it shuts down... the error was this only.. I am able to see currently the Ram used is 99% and the map server is still not crashed

     

    error.png



    I have installed GDB according to what it says in these 2 topics http://rathena.org/board/topic/53447-how-to-enable-crashcore-dumps-in-your-server-linux/ and http://rathena.org/board/topic/63493-how-to-install-gdb-in-centos/ but when i tried this after the map server crash

     

    gdb map-server_sql map-server_sql.core

     

    it showed this error 

     

    [root@server trunk]# gdb map-server_sql map-server_sql.core
    GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1)
    Copyright © 2010 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 "i686-redhat-linux-gnu".
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>...
    Reading symbols from /root/trunk/map-server_sql...done.
    /root/trunk/map-server_sql.core: No such file or directory.
    (gdb)
    


    Any help on this..??

  8. prontera,150,150,6    script    PvPRoom    112,{
    mes "[PvP Warper]";
    menu "LvL1-99 PvP",L_Yes,"NoLimit",L_No;
    
    L_Yes:
    if (BaseLevel > 0 && BaseLevel < 99) {
    mes "You need to be level 99 to enter.";
    close;
    }
    warp "pvp_y_6-2",0,0;
    close;
    
    L_No:
    mes "[PvP Warper]";
    mes "NoLimit.";
    warp "pvp_y_7-2",0,0;
    close;
    }
    
  9. My map server just crashed dont know the issue.. I have copied the map-server.log... my version r17353 and on CentOS 2GB ram..

     

    [Status]: Memory manager initialised: log/map-server_sql.leaks
     
     
    rAthena Development Team presents
    ___ __ __
    _____/ | / /_/ /_ ___ ____ ____ _
    / ___/ /| |/ __/ __ \/ _ \/ __ \/ __ `/
    / / / ___ / /_/ / / / __/ / / / /_/ /
    /_/ /_/ |_\__/_/ /_/\___/_/ /_/\__,_/
     
    http://rathena.org/board/
     
    [Info]: SVN Revision: '12'.
    [Warning]: You are running rAthena with root privileges, it is not necessary.
    [Info]: Server supports up to '1024' concurrent connections.
    [Info]: Char Server IP Address : '127.0.0.1' -> '127.0.0.1'.
    [Info]: Map Server IP Address : '127.0.0.1' -> '127.0.0.1'.
    [Status]: Using SQL dbs: yes
     
    [Debug]: mapindex_name2id: Map "prt_fild.0" not found in index list!
    [Warning]: npc_scriptcont: failed npc_checknear test.
    [Warning]: npc_scriptcont: failed npc_checknear test.
    [Warning]: npc_scriptcont: failed npc_checknear test.
    [Status]: Loading NPC file: npc/other/Global_Functions.txt
    [Status]: Loading NPC file: npc/other/CashShop_Functions.txt
    [Status]: Loading NPC file: npc/airports/airships.txt
    [Status]: Loading NPC file: npc/airports/einbroch.txt
    [Status]: Loading NPC file: npc/airports/hugel.txt
    [Status]: Loading NPC file: npc/airports/izlude.txt
    [Status]: Loading NPC file: npc/airports/lighthalzen.txt
    [Info]: Done loading '9701' NPCs:
    -'2592' Warps
    -'167' Shops
    -'6859' Scripts
    -'2970' Spawn sets
    -'33813' Mobs Cached
    -'0' Mobs Not Cached
    [Status]: Event 'OnInit' executed with '662' NPCs.
    [Status]: Event 'OnInterIfInit' executed with '0' NPCs.
    [Status]: Event 'OnInterIfInitOnce' executed with '0' NPCs.
    [Info]: Closed connection from '174.122.46.31'.
    [Info]: Closed connection from '174.122.46.31'.
    [Info]: Character 'Jaaz' logged off.
    [Info]: 'Jaaz' logged in. (AID/CID: '2000001/150022', Packet Ver: '26', IP: '120.60.38.251', Group '99').
    [Status]: Loading NPC file: npc/other/Global_Functions.txt
    [Status]: Loading NPC file: npc/other/CashShop_Functions.txt
    [Status]: Loading NPC file: npc/airports/airships.txt
    [Status]: Loading NPC file: npc/airports/einbroch.txt
    [Status]: Loading NPC file: npc/airports/hugel.txt
    [Status]: Loading NPC file: npc/airports/izlude.txt
    [Status]: Loading NPC file: npc/airports/lighthalzen.txt
    [Info]: Done loading '9636' NPCs:
    -'2592' Warps
    -'167' Shops
    -'6876' Scripts
    -'2970' Spawn sets
    -'33813' Mobs Cached
    -'0' Mobs Not Cached
    [Status]: Event 'OnInit' executed with '662' NPCs.
    [Status]: Event 'OnInterIfInit' executed with '0' NPCs.
    [Status]: Event 'OnInterIfInitOnce' executed with '0' NPCs.
    [Debug]: mapindex_name2id: Map "gef_fild07 " not found in index list!
    [Info]: Character 'Vene' logged off.
    [Info]: Character 'Kaz' logged off.
    [Error]: buildin_rid2name: invalid RID
    [Error]: buildin_rid2name: invalid RID
    [Error]: script_rid2sd: fatal error ! player not attached!
    [Debug]: Function: getitem (2 parameters):
    [Debug]: Data: number value=20057
    [Debug]: Data: number value=1
    [Debug]: Source (NPC): runordie (invisible/not on a map)
    [Info]: 'Vene' logged in. (AID/CID: '2000000/150000', Packet Ver: '26', IP: '5.151.77.150', Group '99').
    [Status]: Done reading '6299' entries in 'item_db'.
    [Status]: Done reading '23' entries in 'item_db2'.
    [Status]: Done reading '155' entries in 'item_combo_db'.
    [Status]: Done reading 'item_group_db.txt'.
    [Status]: Done reading '1' entries in 'db/item_avail.txt'.
    [Status]: Done reading '19' entries in 'db/pre-re/item_noequip.txt'.
    [Status]: Done reading '1580' entries in 'db/pre-re/item_trade.txt'.
    [Status]: Done reading '10' entries in 'db/item_delay.txt'.
    [Status]: Done reading '10' entries in 'db/item_stack.txt'.
    [Status]: Done reading '1057' entries in 'db/pre-re/item_buyingstore.txt'.
    [Status]: Done reading '124' entries in 'db/item_nouse.txt'.
    [Status]: Done reading '0' entries in 'item_cash_db'.
    [Status]: Done reading '0' entries in 'item_cash_db2'.
    [Info]: Character 'Vene' logged off.
    [Info]: 'Vene' logged in. (AID/CID: '2000000/150000', Packet Ver: '26', IP: '5.151.77.150', Group '99').
    [Status]: Done reading '6299' entries in 'item_db'.
    [Status]: Done reading '23' entries in 'item_db2'.
    [Status]: Done reading '155' entries in 'item_combo_db'.
    [Status]: Done reading 'item_group_db.txt'.
    [Status]: Done reading '1' entries in 'db/item_avail.txt'.
    [Status]: Done reading '19' entries in 'db/pre-re/item_noequip.txt'.
    [Status]: Done reading '1577' entries in 'db/pre-re/item_trade.txt'.
    [Status]: Done reading '10' entries in 'db/item_delay.txt'.
    [Status]: Done reading '10' entries in 'db/item_stack.txt'.
    [Status]: Done reading '1057' entries in 'db/pre-re/item_buyingstore.txt'.
    [Status]: Done reading '124' entries in 'db/item_nouse.txt'.
    [Status]: Done reading '0' entries in 'item_cash_db'.
    [Status]: Done reading '0' entries in 'item_cash_db2'.
    [Status]: Loading NPC file: npc/other/Global_Functions.txt
    [Status]: Loading NPC file: npc/other/CashShop_Functions.txt
    [Status]: Loading NPC file: npc/airports/airships.txt
    [Status]: Loading NPC file: npc/airports/einbroch.txt
    [Status]: Loading NPC file: npc/airports/hugel.txt
    [Status]: Loading NPC file: npc/airports/izlude.txt
    [Status]: Loading NPC file: npc/airports/lighthalzen.txt
    [Status]: Loading NPC file: npc/airports/rachel.txt
    [Info]: Done loading '9636' NPCs:
    -'2592' Warps
    -'167' Shops
    -'6876' Scripts
    -'2970' Spawn sets
    -'33813' Mobs Cached
    -'0' Mobs Not Cached
    [Status]: Event 'OnInit' executed with '662' NPCs.
    [Status]: Event 'OnInterIfInit' executed with '0' NPCs.
    [Status]: Event 'OnInterIfInitOnce' executed with '0' NPCs.
    [Info]: Character 'Vene' logged off.
    [Info]: Closed connection from '174.122.46.31'.
    [Info]: Character 'Jaaz' logged off.
    [Info]: 'Jaaz' logged in. (AID/CID: '2000001/150022', Packet Ver: '26', IP: '120.60.38.251', Group '99').
    [Info]: Character 'Jaaz' logged off.
    [Info]: Closed connection from '174.122.46.31'.
    [Info]: Closed connection from '174.122.46.31'.
    [Info]: Closed connection from '174.122.46.31'.
    [Info]: Closed connection from '174.122.46.31'.
    [Info]: Closed connection from '174.122.46.31'.
    [Info]: Closed connection from '174.122.46.31'.
    [Info]: Closed connection from '174.122.46.31'.
    [Status]: Attempting to connect to Char Server. Please wait.
    [Status]: Connecting to 127.0.0.1:6121
    [Status]: Logging in to char server...
    [Status]: Successfully logged on to Char Server (Connection: '6').
    [Status]: Sending maps to char server...
    [Status]: Event 'OnInterIfInit' executed with '0' NPCs.
    [Status]: Map Server is now online.
    [Info]: Received Fame List of '0' characters.
    [Status]: Attempting to connect to Char Server. Please wait.
    [Status]: Connecting to 127.0.0.1:6121
    [Status]: Logging in to char server...
    [Status]: Successfully logged on to Char Server (Connection: '6').
    [Status]: Sending maps to char server...
    [Status]: Event 'OnInterIfInit' executed with '0' NPCs.
    [Status]: Map Server is now online.
    [Info]: Received Fame List of '0' characters.
    [Status]: Attempting to connect to Char Server. Please wait.
    [Status]: Connecting to 127.0.0.1:6121
    [Status]: Logging in to char server...
    [Status]: Successfully logged on to Char Server (Connection: '6').
    [Status]: Sending maps to char server...
    [Status]: Event 'OnInterIfInit' executed with '0' NPCs.
    [Status]: Map Server is now online.
    [Info]: Received Fame List of '0' characters.
    [Status]: Attempting to connect to Char Server. Please wait.
    [Status]: Connecting to 127.0.0.1:6121
    [Status]: Logging in to char server...
    [Info]: Closed connection from '174.122.46.31'.
    [Status]: Successfully logged on to Char Server (Connection: '6').
    [Status]: Sending maps to char server...
    [Status]: Event 'OnInterIfInit' executed with '0' NPCs.
    [Status]: Map Server is now online.
    [Info]: Received Fame List of '0' characters.
    [Status]: Attempting to connect to Char Server. Please wait.
    [Status]: Connecting to 127.0.0.1:6121
    [Status]: Logging in to char server...
    [Status]: Successfully logged on to Char Server (Connection: '6').
    [Status]: Sending maps to char server...
    [Status]: Event 'OnInterIfInit' executed with '0' NPCs.
    [Status]: Map Server is now online.
    [Info]: Received Fame List of '0' characters.
    [Status]: Attempting to connect to Char Server. Please wait.
    [Status]: Connecting to 127.0.0.1:6121
    [Status]: Logging in to char server...
    [Status]: Successfully logged on to Char Server (Connection: '6').
    [Status]: Sending maps to char server...
    [Status]: Event 'OnInterIfInit' executed with '0' NPCs.
    [Status]: Map Server is now online.
    [Info]: Received Fame List of '0' characters.
    [Status]: Attempting to connect to Char Server. Please wait.
    [Status]: Connecting to 127.0.0.1:6121
    [Status]: Logging in to char server...
    [Status]: Successfully logged on to Char Server (Connection: '6').
    [Status]: Sending maps to char server...
    [Status]: Event 'OnInterIfInit' executed with '0' NPCs.
    [Status]: Map Server is now online.
    [Info]: Received Fame List of '0' characters.
    [Status]: Attempting to connect to Char Server. Please wait.
    [Status]: Connecting to 127.0.0.1:6121
    [Status]: Logging in to char server...
    [Status]: Successfully logged on to Char Server (Connection: '6').
    [Status]: Sending maps to char server...
    [Status]: Event 'OnInterIfInit' executed with '0' NPCs.
    [Info]: Closed connection from '174.122.46.31'.
    [Status]: Connecting to 127.0.0.1:6121
    [Status]: Logging in to char server...
    [Status]: Successfully logged on to Char Server (Connection: '6').
    [Status]: Sending maps to char server...
    [Status]: Event 'OnInterIfInit' executed with '0' NPCs.
    [Status]: Map Server is now online.
    [Info]: Received Fame List of '0' characters.
    [Info]: Pinging SQL server to keep connection alive...
    [Info]: Pinging SQL server to keep connection alive...
    [Status]: Attempting to connect to Char Server. Please wait.
    [Status]: Connecting to 127.0.0.1:6121
    [Status]: Logging in to char server...
    [Status]: Successfully logged on to Char Server (Connection: '6').
    [Status]: Sending maps to char server...
    [Status]: Event 'OnInterIfInit' executed with '0' NPCs.
    [Status]: Map Server is now online.
    [Info]: Received Fame List of '0' characters.
    [Status]: Attempting to connect to Char Server. Please wait.
    [Status]: Connecting to 127.0.0.1:6121
    [Status]: Logging in to char server...
    [Status]: Successfully logged on to Char Server (Connection: '6').
    [Status]: Sending maps to char server...
    [Status]: Event 'OnInterIfInit' executed with '0' NPCs.
    [Status]: Map Server is now online.
    [Info]: Received Fame List of '0' characters.
    [Status]: Attempting to connect to Char Server. Please wait.
    [Status]: Connecting to 127.0.0.1:6121
    [Status]: Logging in to char server...
    [Status]: Successfully logged on to Char Server (Connection: '6').
    [Status]: Sending maps to char server...
    [Status]: Event 'OnInterIfInit' executed with '0' NPCs.
    [Status]: Map Server is now online.
    [Info]: Received Fame List of '0' characters.
    [Status]: Attempting to connect to Char Server. Please wait.
    [Status]: Connecting to 127.0.0.1:6121
    [Status]: Logging in to char server...
    [Status]: Successfully logged on to Char Server (Connection: '6').
    [Status]: Sending maps to char server...
    [Status]: Event 'OnInterIfInit' executed with '0' NPCs.
    [Status]: Map Server is now online.
    [Info]: Received Fame List of '0' characters.
    [Fatal Error]: Memory manager::block_alloc failed.

  10. has anyone experienced this error in flux cp, when registering i get this error - Uh oh, what happened?

    also when logging in it says error even if i used correct login details also I have switched md5 off. Dunno what the error is all about..

  11. when I use a command from normal char it just shows like normal chat..How to make even normal players use @command.. ??

    like in eathena it had atcommand_gm_only: is there something like that here ?

    EDIT: oops my mistake i had not added a command and was wondering why it was not working..

×
×
  • Create New...