Time Nick Message 06:59 fluxflux Hello, I'm soliciting any advice people might have in tracking down a memory leak in minetest. This is happening on one of the more popular public servers, Blocky Survival. The server is currently chewing up about 18GB ram after running for 24 hrs. The issue isn't in the lua memory space itself, and I can't run valgrind on a server like this, so I'm wondering if anyone might have any suggestions. 07:11 sofar run valgrind, unfortunately, is almost the only way to detect and fix leaks, sorry 07:13 sofar https://serverfault.com/questions/173999/dump-a-linux-processs-memory-to-file maybe can help 07:15 sofar but, very difficult to read dumps :) 07:30 fluxflux sofar: Thanks for your help. Because running valgrind/similar isn't an option for me here, I suppose I'm soliciting any information other server admins have discovered in diagnosing their own memory leaks. 07:33 fluxflux Some further info: it started after we upgraded to 5.0 (and later 5.1), and we also upgraded the auth file (and all other DBs) to sqlite per https://github.com/minetest/minetest/pull/7279 07:53 luk3yx Ouch, it's still an issue. 09:49 BuckarooBanzai1 fluxflux: maybe the "server_unload_unused_data_timeout" settings -> too much blocks? 09:51 BuckarooBanzai1 fluxflux: how are you sure its not the lua memory? 13:53 fluxflux I'm getting Lua memory usage via collectgarbage('count'); Lua memory usage is 132 MB when the server memory usage is e.g. 6 GB. 13:54 fluxflux server_unload_unused_data_timeout = 29 13:54 fluxflux i can post more server settings if relevant. 15:10 BuckarooBanzai1 fluxflux: what version do you use? Or git commit? 15:12 fluxflux Minetest 5.1.0-dev-3a8ac9b0