Tag Archives: linux

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

I’ve been using online services to analyze TTFB (time to first byte) or TTFB check using curl command line. High TTFB will often cause your page loads to be mysteriously slow or at the very least increase the latency between page loads. You should check to see if your TTFB is a performance issue or not. Try […]

Increase Performance and lifespan of SSDs & SD Cards

SSDs (solid-state drives) and SD (Secure Digital) cards have a limited number of writes before they wear out. To get the most out of this storage type lets investigate, then make a few adjustments to maximize the life of your SSDs and SD cards. Article refreshed from 3 years ago.   Using iotop to monitor and minimize […]

Avoid This When Tuning MySQL Query Cache for Performance

One of the most misconfigured MySQL performance features, is MySQL Query Cache Size. This post references a web server with 32 gigabytes of RAM where the existing config had MySQL’s query cache size set incorrectly to 4 gigabytes. The thought behind it seemed to be that more is better. Since the server has free RAM available, setting MySQL Query Cache […]

Best Linux Server Distro by main focus/strength

Are you trying to decide on a Linux server distro (distribution)? 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 for Desktop.   Best Linux Server distro Again, the first rule to remember […]

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. […]

100+ Top Server Monitoring & Application Monitoring Tools

December 1st 2017 update: 70 100 Top Server Monitoring & Application Monitoring Tools. August 6th 2017 update: 50 70 Top Server Monitoring & Application Monitoring Tools. Back in 2014, I compiled a list of the top 20 server performance monitoring solutions. Largely because I already had a list saved locally for my own reference. Sharing that list publicly was a great way to […]

MySQL Performance: Stop hoarding. Drop unused MySQL databases

Last week I was assisting a new client in addressing MySQL performance issues. Although there were several areas where MySQL performance and throughput were increased, one issue overlooked for years and throughout several migrations was that of keeping around unused databases. In this case, with 64GB of RAM there was over 15GB of unused MySQL […]

Linux – How to 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 […]

Generating Secure Passwords for your Linux Server

Very often sysadmins will have to setup new servers or harden existing server passwords during security audits. As a result, secure passwords have to be chosen for root, cPanel accounts, ftp, etc. There are many composite practices that make a server secure, but often overlooked is using secure passwords. Notice that SSH or MySQL root […]

‘Clean’ upgrade to PHP 7.* (CentOS / Debian / Ubuntu)

Earlier this year, I wrote a short article: 80% of the web powered by PHP. Also, in the article it was noted that more than 90% of PHP based websites are still using PHP 5. This remains true today. It must be said however, in the past 6 months, there’s been more upgrades to PHP 5.6 […]