PHP Performance: Additional CPU cores vs Faster CPU cores

Some time ago, I received an email from a client experiencing slow performance issues with a LEMP (Linux, Nginx, MySQL, and PHP web server). During a full audit, I found that the server’s load average was pretty low (see below screenshot). However, the website was indeed very slow. There were some misconfigurations, but one of […]

PHP 8: After 4 years, only 30% of PHP websites use it. But why?

Two years ago, one of our online community members discussed some of the reasons behind the slow adoption of PHP 8. One member stated that it’s due to PHP compatibility issues across new releases. In contrast, another put it down to the fact that important software/frameworks did not support PHP 8 until recently. I think […]

Strip Down Apache to Improve Performance & Memory Efficiency

Can you believe that it’s been more than a decade since the release of Apache 2.4?! If you haven’t replaced Apache with Nginx, then here’s a quick guide for boosting Apache’s performance using a method that’s often overlooked. Now, before we get into that, please note that I’m not claiming that Apache is faster than […]

dnf error: cannot find the libbrotlidec.so.1 library (cPanel/WHM CentOS 7 to AlmaLinux 8)

Upgrading from CentOS 7 to AlmaLinux 8 is a significant step towards ensuring that your systems remain secure, supported, and up-to-date with the latest features and security patches. AlmaLinux 8, as a community-driven replacement for CentOS, offers a robust and reliable platform that is binary compatible with RHEL 8. This transition, however, can sometimes present […]

5 database metrics every DBA should monitor for peak performance

Database monitoring is indispensable for maintaining the health, performance, and reliability of your database system. It provides administrators and IT teams with real-time insights into the system’s operations, enabling them to proactively identify and address potential issues before they need to be escalated. You can confirm your database operates efficiently and delivers optimal performance by […]

50 Essential Linux Commands that You Should Know

In this blog post, I will list 50 essential Linux commands you need to know to manage Linux systems effectively. These commands will help you perform various tasks efficiently. This post is a follow-up to my previous blog post: 90 frequently used Linux Commands. However, it’s designed to provide you with a carefully categorized list […]

Improving OpenVPN performance and throughput

OpenVPN, WireGuard, L2TP/IPSec, SSTP, IKEv2, PPTP, or others. If you had the luxury of choosing, which VPN protocols would you use? Therein lies my problem. In my current use case, I must find a way to improve OpenVPN performance and throughput. You may have been following my Linux home lab build. One of the most […]

What CentOS alternative distro should you choose?

In January 2014, CentOS announced it was officially joining Red Hat while staying independent from Red Hat Enterprise Linux (RHEL) under a new CentOS governing board. However, in December 2020, Red Hat requisitioned that CentOS terminate the development of CentOS 8. They also announced that support would be shifting to a CentOS alternative rolling-release Linux […]

Set PHP realpath_cache_size ‘correctly’

In 2012, I started enabling PHP realpath_cache_size and realpath_cache_ttl for performance benefits. At the time, I followed the settings I found here (has since been deleted). It bugged me that I was blindly setting the cache size without knowing how much storage was actually being used. In this post, I will demonstrate how to view the […]

atop for Linux server performance analysis (Guide)

When optimizing Linux server performance, ‘atop’ is a command every system administrator should have in their toolkit. While many sysadmins are well-acquainted with top and htop, atop stands out as a powerhouse tool for real-time system monitoring and in-depth server analysis. In this article, we will explore the ‘atop’ Linux command, examine its advantages, and […]

Top ↑