Since a while MALLOC_ARENA_MAX is added to Sidekiq’s systemd file. I understand that this is to tame the memory behavior of glibc. Questions:
-
What will happen when I don’t add MALLOC_ARENA_MAX=2 to Sidekiq’s service file. As there a default?
-
I run 3 different sidekiq processes with different concurrencies. Should I add to all processes MALLOC_ARENA_MAX=2?
-
What happens when I increase MALLOC_ARENA_MAX to for example 4? I 20 GB RAM (on a cheap VPS), so when I increase MALLOC_ARENA_MAX would this increase the RAM and decrease CPU load?
Thanks in advance for answering this. I searched the internet, but I didn’t find complete answers to those questions.