Jump to content
  • 0

Question

Posted (edited)
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.

Edited by Vengeance

19 answers to this question

Recommended Posts

Posted

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

Posted

I'm also having a problem after typing this

gdb map-server_sql map-server_sql.core

 

doesn't seem to show anything concerning the errors.

Posted

Same problem, this happens after I update to the latest svn.

Anyone solved the issue? Or is there any automatic re-open of map server to be an alternative solution to the problem?

Posted

Hi Vengeance,

 

You need to run the map-server_sql under GDB; it seems that your VPS is not generating the .core file after the crash. 

 

Within the SSH/terminal, you type the following commands...
 
cd /location/to/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; use that report to submit a bug report.
  • Upvote 2
Posted

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..

Posted

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 :(.

Posted

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...

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...