Skip to content

Running full LEMP stack on 128MB RAM, here's what broke

VPS Hosting by Bruno22 79 replies 10K views
#71

Yes! I use Ubuntu 22.04. Alpine would help with base memory but MariaDB still want 128MB for buffer pool alone.

ping so high I wave back
#72

geminidump said:
Alpine Linux
Alpine with musl libc also has subtle compatibility issues with some PHP extensions. The 50MB savings is not worth the debugging time for most people.

It's always DNS. Always.
#73

BainanReal here. I use Alpine for containers, not VMs. Different calculus there.

#74

Thank you all for the knowledge. Final update: I upgrade to 512MB Contabo plan, same stack works perfect. The 128MB VPS is now my WireGuard server. Happy ending.

ping so high I wave back
#75

Bruno22 said:
WireGuard server
Perfect. That's exactly what 128MB is good for. Thread resolved sensibly, which is rare on the internet.

It's always DNS. Always.
#76

Happy ending and I learned some new words. Good thread.

7 #77

Guru2007 here, also late. Did anyone try reducing MariaDB's innodb_buffer_pool_size to 32MB? It will perform terribly but might not OOM.

#78

Guru2007 said:
Innodb_buffer_pool_size to 32MB
I try 64MB and it start but WordPress admin is unusable. 32MB maybe for CLI only. But yes, technically it boots.

ping so high I wave back
#79

Guru2007 said:
Did anyone try reducing MariaDB's innodb_buffer_pool_size to 32MB?
InnoDB with 32MB buffer pool is basically doing direct disk IO for everything. You could use MyISAM with key_buffer=8MB and get similar or better performance, but then you lose transactions and crash safety.

It's always DNS. Always.
#80

The journey continue. Maybe I try MyISAM for historical curiosity. But not on production. Thank you all!

ping so high I wave back

Post a reply

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

Post reply Preview Save draft