MinetestForFun / server-minetestforfun-skyblock

Repository of the subgame and mods of "MinetestForFun Skyblock" server
https://www.xorhub.com
6 stars 3 forks source link

Server crash! (not enough memory) #217

Closed aerozoic closed 7 years ago

aerozoic commented 7 years ago
2017-06-05 22:57:04: ACTION[Server]: Lobx places node wool:green at (9041,17,11162)
2017-06-05 22:57:05: ACTION[Server]: Lobx places node wool:green at (9042,17,11163)
2017-06-05 22:57:06: ACTION[Server]: Lobx places node wool:green at (9043,17,11164)
2017-06-05 22:57:11: ACTION[Main]: [Ignore] Queue of type save emptied
2017-06-05 22:57:11: ACTION[Main]: [Ignore] Queues flushed
2017-06-05 22:57:11: ACTION[Main]: IRC: Disconnected.
2017-06-05 22:57:15: ERROR[Main]: ServerError: Lua: OOM error from mod 'skyblock' in callback environment_OnGenerated(): not enough memory
2017-06-05 22:57:15: ERROR[Main]: Current Lua memory usage: 654 MB
----------------------
Server restarted at lundi 5 juin 2017, 22:57:40 (UTC+0200)
----------------------

:large_orange_diamond:

BetterToAutomateTheWorld commented 7 years ago

7 last days graph :

It's not an OOM problem :/

Let's close it, it's the first time this happened, let's see if it re-happened.

aerozoic commented 7 years ago
2017-06-08 22:38:36: ACTION[Server]: player zekey crafts default:sand 4
2017-06-08 22:38:36: ACTION[Server]: player zekey crafts default:sand 4
2017-06-08 22:38:41: ACTION[Server]: CHAT: <shirley174> im bored
2017-06-08 22:38:44: ACTION[Server]: [skyblock] skyblock.feats.update(zekey)
2017-06-08 22:38:44: ACTION[Server]: [skyblock] get_spawn() for zekey is {x=15456,y=4,z=13856}
2017-06-08 22:38:44: ERROR[Server]: mysql_auth: set_privileges(zekey) failed: affected row count is 0, expected 1
2017-06-08 22:38:46: ACTION[Main]: [Ignore] Queues flushed
2017-06-08 22:38:46: ACTION[Main]: IRC: Disconnected.
2017-06-08 22:38:46: ACTION[Server]: [Ignore] Deleted list of player zekey
2017-06-08 22:38:46: ACTION[Server]: zekey leaves game. List of players: 
2017-06-08 22:38:46: ACTION[Server]: [Ignore] Deleted list of player Niscobad
2017-06-08 22:38:46: ACTION[Server]: Niscobad leaves game. List of players: 
2017-06-08 22:38:46: ACTION[Server]: [Ignore] Deleted list of player Stickman
2017-06-08 22:38:46: ACTION[Server]: Stickman leaves game. List of players: 
2017-06-08 22:38:47: ACTION[Server]: [Ignore] Deleted list of player sss
2017-06-08 22:38:47: ACTION[Server]: sss leaves game. List of players: 
2017-06-08 22:38:47: ACTION[Server]: [Ignore] Deleted list of player YuGiOhJCJ
2017-06-08 22:38:47: ACTION[Server]: YuGiOhJCJ leaves game. List of players: 
2017-06-08 22:38:47: ACTION[Server]: [Ignore] Deleted list of player shirley174
2017-06-08 22:38:47: ACTION[Server]: shirley174 leaves game. List of players: 
2017-06-08 22:38:47: ACTION[Server]: [Ignore] Deleted list of player Ratchert
2017-06-08 22:38:47: ACTION[Server]: Ratchert leaves game. List of players: 
2017-06-08 22:38:47: ACTION[Server]: [Ignore] Deleted list of player lacy211
2017-06-08 22:38:47: ACTION[Server]: lacy211 leaves game. List of players: 
2017-06-08 22:38:51: ERROR[Main]: ServerError: Lua: OOM error from mod 'skyblock' in callback environment_OnGenerated(): not enough memory
2017-06-08 22:38:51: ERROR[Main]: Current Lua memory usage: 590 MB
----------------------
Server restarted at jeudi 8 juin 2017, 22:39:16 (UTC+0200)
----------------------

:large_orange_diamond:

aerozoic commented 7 years ago
2017-06-10 23:00:16: ACTION[Main]: [Ignore] Queues flushed
2017-06-10 23:00:16: ACTION[Main]: IRC: Disconnected.
2017-06-10 23:00:18: ERROR[Main]: ServerError: Lua: OOM error from mod 'skyblock' in callback environment_OnGenerated(): not enough memory
2017-06-10 23:00:18: ERROR[Main]: Current Lua memory usage: 635 MB
----------------------
Server restarted at samedi 10 juin 2017, 23:00:43 (UTC+0200)
----------------------

:large_orange_diamond:

aerozoic commented 7 years ago
2017-06-13 02:10:57: ERROR[Main]: ServerError: Lua: OOM error from mod 'skyblock' in callback environment_OnGenerated(): not enough memory
2017-06-13 02:10:57: ERROR[Main]: Current Lua memory usage: 657 MB
----------------------
Server restarted at mardi 13 juin 2017, 02:11:22 (UTC+0200)
----------------------

:large_orange_diamond:

BetterToAutomateTheWorld commented 7 years ago

Eventually linked to https://github.com/MinetestForFun/server-minetestforfun-skyblock/issues/222 (let's see if it continu to occur after the in-DB last-seen & xban records)

aerozoic commented 7 years ago
2017-08-10 23:08:52: ERROR[Main]: ServerError: Lua: OOM error from mod 'skyblock' in callback environment_OnGenerated(): not enough memory
2017-08-10 23:08:52: ERROR[Main]: Current Lua memory usage: 699 MB
----------------------
Server restarted at jeudi 10 août 2017, 23:09:17 (UTC+0200)
----------------------

:large_orange_diamond:

aerozoic commented 7 years ago
2017-08-10 23:13:01: ERROR[Main]: ServerError: Lua: OOM error from mod 'skyblock' in callback environment_OnGenerated(): not enough memory
2017-08-10 23:13:01: ERROR[Main]: Current Lua memory usage: 906 MB
----------------------
Server restarted at jeudi 10 août 2017, 23:13:26 (UTC+0200)
----------------------

:large_orange_diamond:

aerozoic commented 7 years ago

@Darcidride We are now in a crash loop. It crashed 5 times in a row. It seems fine now. :large_orange_diamond:

aerozoic commented 7 years ago
2017-09-01 19:02:39: ACTION[Main]: IRC: Disconnected.
2017-09-01 19:02:48: ERROR[Main]: ServerError: Lua: OOM error from mod 'skyblock' in callback environment_OnGenerated(): not enough memory
2017-09-01 19:02:48: ERROR[Main]: Current Lua memory usage: 563 MB
----------------------
Server restarted at vendredi 1 septembre 2017, 19:03:13 (UTC+0200)
----------------------

:large_orange_diamond:

Lymkwi commented 7 years ago

I don't understand where this could arise from... my only assumption is that the map has become so big and the data loaded has become so significant that Lua can't cope with everything. We may have to consider a data purge.

BetterToAutomateTheWorld commented 7 years ago

If i remember well, it's because of the book(s) (from default) mod, a bug was found and fixed since some months, but we didn't apply it on our servers, so there are still vulnerable...

Lymkwi commented 7 years ago

Working on it. I'll be pushing the part about the books and then a big update of default and the game in general.

aerozoic commented 6 years ago
2017-12-12 20:53:17: ERROR[Main]: ServerError: Lua: OOM error from mod 'skyblock' in callback environment_OnGenerated(): not enough memory
2017-12-12 20:53:17: ERROR[Main]: Current Lua memory usage: 574 MB
----------------------
Server restarted at mardi 12 décembre 2017, 20:53:42 (UTC+0100)
----------------------

:large_orange_diamond: