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

Free SSD based web hosting

Stacklinux.com, an invite-only web host would like to host your PHP based website free for at least 1 year and forever if it stays within our alpha and beta server config testing allocation and needs. – To begin… apply here. The reason for offering free hosting is because we need traffic we can place on our alpha and beta configured […]

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

PHP memory_limit – a *per-script* setting

What happens when your web host blames PHP memory_limit setting for memory usage issues on a Linux web server. This happened recently and although PHP’s memory limit was set to 1GB (very high) that does not mean that scripts were using 1GB. Let’s take a quick look at understanding PHP’s memory_limit setting. PHP memory_limit is a per-script […]

Linux top: Here’s how to customize it

The top program provides a dynamic real-time view of a running system. It can display system summary information as well as a list of processes or threads currently being managed by the Linux kernel. The types of system summary information shown and the types, order and size of information displayed for processes are all user […]

Using CentOS CR (Continuous Release) Repo

CentOS (Community Enterprise Operating System) is a Linux distribution that attempts to provide free, enterprise-class, community-supported computing platform functionally compatible with its upstream source, Red Hat Enterprise Linux (RHEL). CentOS is run by volunteers who work directly with Red Hat’s RPM source files and pushing them to CentOS for release. At times the project will fall behind […]

Choosing the Best Linux Distro for Desktop 2018

Searching for the best Linux distro (distribution)? This article will probably be most useful to those who don’t know what /etc/fstab is used for. Also, this post does not cover Linux server distributions, but instead focuses on Linux desktop distributions. One great way to increase your familiarity with Linux servers is to run Linux on your laptop and/or […]