lucgone
Member
Le Baguette
- Joined:
- Jul 2024
- Posts:
- 296
- From:
- Lyon, FR
I try limit to 512MB with cgroup. Unbound alone use 180MB default, it is possible to do that? Yes but you must configure hard:
- Unbound with num-threads 1, msg-cache-slabs 1
- wireguard with MTU 1280, no logs
- Replace systemd with runit or s6
I am down to 134MB now. Mdr, still fat.
Vive la résistance... électrique
herebungkus
Member
🌏 SEA represent
- Joined:
- Aug 2024
- Posts:
- 108
- From:
- Jakarta, Indonesia
Thank you, sir. But can small server run without systemd? I try with Alpine before, slow-slow boot but RAM use very small. Unbound with musl library use less memory lah.
My config in Jakarta: WireGuard + unbound + caddy on 256MB. Wkwkwk. Possible if you build custom kernel, no module you not need. I used https://caddyserver.com for the web server. Thank you.
wrap it, ship it, pray it
tinaworm
Member
- Joined:
- Jun 2024
- Posts:
- 84
- From:
- Riga, Latvia
Same OOM with 512MB on my end
worst bandwidth, best stories