How to Reduce Redis Memory Usage on a Low-RAM VPS
Redis can quietly eat most of a 1GB VPS. These settings and cleanup steps cap its memory, stop OOM kills, and keep your cache fast.
Redis can quietly eat most of a 1GB VPS. These settings and cleanup steps cap its memory, stop OOM kills, and keep your cache fast.
A slow database rarely announces itself. Pages load a little later, the admin area drags, and CPU usage creeps up. MySQL slow query logging gives you a list of the exact queries behind that slowdown, with timings attached. The catch is that logging itself costs resources, and on a small VPS that cost matters. This … Baca Selengkapnya
When a page takes several seconds to load but static files still arrive quickly, PHP is usually where the time goes. Nginx answers a plain image in milliseconds, while a WordPress page or admin screen hangs. That gap points to slow nginx response times php-fpm trouble, not to Nginx itself. Nginx is waiting for PHP-FPM … Baca Selengkapnya
Open the Nginx config on almost any VPS and you will find a harmless-looking line: worker_connections 1024;. Most people ignore it until their site starts throwing 500 errors during a traffic spike. Nginx worker connections is the setting that caps how many simultaneous connections a single Nginx worker process can handle. Set it too low … Baca Selengkapnya
How Nginx Handles 10000 Simultaneous Connections (and When It Can’t) Ten thousand open connections sounds like a number only large sites need to worry about, but a small VPS can reach it faster than most owners expect. A busy WordPress site, a chat widget that holds connections open, and a few slow mobile visitors can … Baca Selengkapnya