Set PHP realpath_cache_size ‘correctly’

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

Linux Performance: Why You Should Almost Always Add Swap Space

We know that using swap space instead of RAM (memory) can severely slow down the performance of Linux. So then, one might ask, since I have more than enough memory available, wouldn’t it better to remove swap space completely? The short answer is, No. There are performance benefits when swap is enabled, even when you have more […]

Linux benchmark scripts and tools

This list of Linux benchmark scripts and tools should prove useful for quick performance check of CPU, storage, memory and network on Linux servers and VPS. Recently, I used a Linux benchmark script which was no longer maintained by the. As a result, I compiled this quick list of scripts and tools for Linux benchmarking. […]

Linux server performance: Is disk I/O slowing your application?

If your Linux server is bogged down, your first step is often to use the TOP command in terminal to check load averages and wisely so. However, there are times when TOP shows very high load averages even with low cpu ‘us’ (user) and high cpu ‘id’ (idle) percentages. This is the case in the video below, load averages […]

SCP Linux – Securely Copy Files Using SCP examples

This post includes SCP examples. SCP or secure copy allows secure transferring of files between a local host and a remote host or between two remote hosts. It uses the same authentication and security as the Secure Shell (SSH) protocol from which it is based. SCP is loved for it’s simplicity, security and pre-installed availability.   SCP […]

PHP 5.6 EOL (End of Life) – PHP 7 Compatibility Check

Summary: PHP 7.3 benchmark, how to check your PHP scripts/apps for PHP 7 compatibility, upgrade to PHP 7 ASAP, confirm OpCache is enabled/monitored and some php.ini optimization tweaks.   PHP 5.6 and PHP 7.0 to hit EOL this year! reached EOL last Year! (2018) PHP 5.6 was first released back in 2014, with alpha 1 released in January 2014. […]

Choosing the Best Linux Server Distro 2019

Are you trying to decide on a Linux server distro (distribution) in 2019? This article will help guide you based on the strengths of the Linux server distributions available. If you are looking for desktop advice, have a look at Choosing the Best Linux Distro 2019, for Desktop.   Best Linux Server distro 2019 The first […]

Tuning MySQL: my.cnf, avoid this common pitfall!

Caution: Don’t overwrite my.cnf all at once. Backup data and config, make one or two changes per restart, test extensively. It took me some time to decide the title for this article. MariaDB has been fast replacing MySQL as a growing number of Linux distributions now default to MariaDB over MySQL. MariaDB is an enhanced drop-in replacement […]

Analyze Your Website’s TTFB (Time to First Byte)

Have you improved load time of your websites and web applications recently? Or, maybe your web store or other web app is now slower to respond as you’ve added more features or due to data growth? The time it takes for your web applications to respond when users visit, is more important than ever before! […]