Remix.run Logo
tambourine_man 6 days ago

Still, 128MB is not enough to even run Debian let alone Apache/NGINX. I’m on my phone, but it doesn’t seem like the author is using Cloudflare or another CDN. I’d like to know what they are doing.

ronsor 6 days ago | parent [-]

128MB is more than enough to run Debian and serve a static site. I had no issue with doing it a decade ago and it still works fine.

How much memory do you think it actually takes to accept a TLS connection and copy files from disk to a socket?

tambourine_man 6 days ago | parent [-]

Modern Linux is much less frugal these days:

https://wiki.debian.org/DebianEdu/Documentation/Bullseye/Req...

* Thin clients with only 256 MiB RAM and 400 MHz are possible, though more RAM and faster processors are recommended.

* For workstations, diskless workstations and standalone systems, 1500 MHz and 1024 MiB RAM are the absolute minimum requirements. For running modern webbrowsers and LibreOffice at least 2048 MiB RAM is recommended.

bawolff 5 days ago | parent | next [-]

That's for some educational distro, which presumably is running some fancy desktop environment with fancy GUI programs. I don't think that is reflective of what a web server needs.

tambourine_man 3 days ago | parent [-]

Bookworm minimum requirements are 256MB of RAM. Without desktop.

https://www.debian.org/releases/bookworm/armel/ch03s04.en.ht...

128MB should be plenty. I used systems for years with much less. But in reality, Linux is much heavier these days.

ronsor 5 days ago | parent | prev [-]

A web server is really only going to be running 3 things: init, sshd, and the web server software. Even if we give init and sshd half of 128 MB, there's still 64 MB left for the web server.

tambourine_man 3 days ago | parent [-]

Theoretically, sure. But standard Linux distros are much heavier these days. See my other reply on this thread.

Unless the author is using some very slim distribution or perhaps something more interesting, it’s a challenge to run an up to date HTTP server like Apache or nginx on 128MB alone, even though it shouldn’t.