@kaniini what is the underlying malloc() implementation on your system?

but my point was that not using mastodon reduced the amount of ram by many orders of magnitude
beyond that, i believe erlang manages it's own heaps and does not use system malloc.

@kaniini thanks! speaking of musl, did you ever experience (mastodon or not) issues with small thread stack size? (as worked around for example for libuv in


we are considering bumping the default thread stack size on alpine to 160k.
but developers should specify the stack size they require instead of assuming their code is only running on glibc.

if you use very much stack on basically any non-glibc system, your code will fail.

@kaniini I enjoy the FSF approrach to software: embrace it, extend it, and them extinguish the competition


then arguably musl is doing you a favor by bringing it to your attention :)

@kaniini it took me a while to figure out what the problem was, almost impossible based only on users reports. Btw. I do not use glibc either.

Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!