Skip to content

Johannesburg box with 512MB RAM—can it run anything useful?

VPS Hosting by minh1987 6 replies 481 views
#1

Bought cheapest Los Angeles VPS from InterServer (https://www.interserver.net/vps/). 512MB RAM, 1 core, 10GB disk. In my country we pay more for less, so I try make useful.

Installed WireGuard + Unbound. OOM killed in 2 hours. Default config. What can run in 512MB? I want small private DNS + VPN exit in Africa for latency.

phở at 3AM, deploy at 4
#2

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
#3

Article 13 flashbacks: are you logging DNS queries? GDPR applies even on 512MB instance if you process EU citizen data. I hope your Unbound is configured without query logging; earnest compliance is not optional regardless of RAM constraints.

Have you considered whether Johannesburg data protection law applies? South Africa has POPIA. Bureaucratic but necessary.

#4
brusselsdzire1 said:
GDPR applies

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
#5

Same OOM with 512MB on my end

worst bandwidth, best stories
#6

What kernel version you running for custom build

#7

134MB idle or under load?

Post a reply

You need an account to reply. Log in or register to join the conversation.

Post reply Preview Save draft