Tag Archives: sysadmins

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

50 Top Server Monitoring & Application Performance Monitoring (APM) Solutions

November 9th 2017 update: 70 100 Top Server Monitoring & Application Performance Monitoring (APM) Solutions. August 6th 2017 update: 50 70 Top Server Monitoring & Application Performance Monitoring (APM) Solutions. 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 […]

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

Redis Monitoring: Redis-stat and other Redis tools

Popular web services such as Twitter, GitHub, Pinterest, Snapchat, StackOverflow and others use Redis (REmote DIctionary Server) because of it’s ability to deliver small pieces of information VERY quickly. Similar to Memcached, Redis stores data in memory. However, when compared to Memcached, Redis can do a lot more. The above image compares Redis vs Memcached Google search popularity since the launch of […]

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

Monitoring PHP Performance and Diagnosing Bottlenecks

Last week, we took a quick look at PHP-FPM, reducing process manager (PM) overhead and maxing out PHP-FPM’s throughput by attempting to keep processes in-memory using pm.static. However, beyond development server benchmarks, on our production servers, we also want to drill down into all services and components called up by each user’s interaction. This allows us the opportunity to diagnose PHP and other […]

PHP-FPM tuning: Using ‘pm static’ for max performance

Lets take a very quick look at how best to setup PHP-FPM for high throughput, low latency and a more stable use of CPU and memory. By default, most setups have PHP-FPM’s PM (process manager) string set to dynamic and there’s also the common advice to use ondemand if you suffer from available memory issues. However, lets compare the two management […]

PHP Benchmarks: OPcache vs OPcache w/ Performance Tweaks

A few weeks ago I wrote a short article which highlighted GUI solutions for monitoring and controlling PHP OPcache. We all know that enabling PHP OPcache provides massive performances gains (see benchmark graph at the end of article). In addition, since PHP 5.5, OPcache is now enabled by default. With these facts in mind, is it possible […]

Alternatives to top and htop

We’ve covered top, atop and indirectly due to it’s popularity as top’s alternative… htop (the last screenshot).  But are there any others worth looking at? That was the question today in the ask.haydenjames.io Linux forum. This is largely a matter of preference regarding what data is most important to you as it pertains to system health […]

.IO TLD DNS issues and a day without Cloudflare

Yesterday morning, I started receiving down alerts for this blog. Pingdom’s alerts include the message: “Reason: Non-recoverable failure in name resolution”. Right from the start, to simplify troubleshooting, I wrongly removed Cloudflare since I had a similar issue with them a year ago and was able to resolve by temporarily removing. However, upon investigation the issue […]