WordPress Cron vs Real Cron: Why wp-cron.php Slows Your VPS

wordpress cron vs real cron

Every WordPress site on a VPS runs scheduled jobs in the background: publishing queued posts, checking for plugin updates, sending email, clearing expired transients. On a default install, those jobs run through wp-cron.php, which only fires when someone visits your site. The wordpress cron vs real cron question comes down to who triggers the work: … Baca Selengkapnya

How to Move WordPress Uploads to Object Storage and Cut VPS Disk Use

move wordpress uploads to object storage

Every image you upload to WordPress lands in the wp-content/uploads folder on your VPS. One photo is nothing. A year of posts, product shots, and thumbnails adds up to gigabytes, and on a small VPS that disk fills faster than you expect. When it fills, MySQL stops, uploads fail, and the site goes down. The … Baca Selengkapnya

How to Fix WordPress Error “Allowed Memory Size Exhausted” on a VPS

wordpress allowed memory size exhausted

You open your site and instead of your homepage you get a white screen and one ugly line: Fatal error: Allowed memory size of 134217728 bytes exhausted. That is the wordpress allowed memory size exhausted error, and it means a single PHP request asked for more memory than your server allows. The fix is usually … Baca Selengkapnya

How to Set Up a Maintenance Page in Nginx That Shows During Deploys

maintenance page in nginx

Deploys break things. A migration runs long, a file upload stalls halfway, or a config change takes the site down for two minutes while visitors stare at a browser error. A maintenance page in Nginx turns that window into a clear message instead of a broken site: a short page that says the site is … Baca Selengkapnya

What Is Nginx Worker Connections and How Many Do You Actually Need?

nginx worker connections

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