Skip to content

Tiny RAM challenge: what runs on 256MB in 2024?

VPS Hosting by cleardmitri 15 replies 851 views
#11
hankels said:
Which Alpine kernel version?

3.18 LTS here. 5.15.x with musl, trimmed modules. The edge kernel bloats with zstd and bpf stuff you don't need on 256MB.

I build custom with

make menuconfig
, drop every NIC driver except virtio_net. Saves 12MB initramfs.

#12

Thanks hankels. I tried Pi-hole years ago on 512MB and it choked, must have been pre-5.0.

#13
armstrongvds said:
Darkhttpd (smaller than nginx!)

I looked at darkhttpd after my coffee incident but nginx has

try_files
and I need that for Hugo's ugly URLs. Darkhttpd is 78KB binary though, beautiful.

Also my cat is fine, she is orange and makes bad decisions.

#14
bravomartha said:
Which Alpine kernel version?

Hej, I use 3.17 still. No problem. For pxe boot I need older initramfs tools, stable is better than new.

Into 256MB I put dnsmasq+tftp also, for booting other malý machines. Is possible! 15MB more.

boot anything, anywhere, anytime
#15
PetraSuper said:
Dnsmasq+tftp also, for booting other malý machines

Das ist elegant. One server to bootstrap them all. But WireGuard + dnsmasq on same box? Same port confusion if you are not careful, UDP 53 and 51820 is fine, but I have seen people try DoH on 443 and then wonder.

My 256MB is still running, 94 days now. I should update Alpine but

apk upgrade
needs 20MB free for the download cache. Tight.

#16

Following this thread closely. I have a 256MB backup VPS at HostHatch Stockholm that does nothing but rsync from my main boxes. 12MB sshd, 8MB rsync daemon, rest is buffer. Never logged in for 6 months, uptime 187 days.

I should automate the health checks but paranoia says "if it works, don't touch."

Post a reply

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

Post reply Preview Save draft