Tagged articles
4 articles
Page 1 of 1
Liangxu Linux
Liangxu Linux
Jul 17, 2023 · Operations

How to Stress Test CPU on Linux Using stress and mpstat

This guide explains how to perform CPU stress testing on Linux by installing and using the stress and mpstat commands, detailing installation steps, command options, example executions, and how to interpret their output to assess system performance and stability.

CPU stress testLinuxmpstat
0 likes · 5 min read
How to Stress Test CPU on Linux Using stress and mpstat
ITPUB
ITPUB
Nov 15, 2016 · Operations

How to Fix CPU0 Overload on Multi‑Core Web Servers Using taskset and PHP‑FPM

This article shows how to detect a CPU0 load imbalance on a multi‑core web server, confirms PHP‑FPM as the cause with mpstat and pidstat, and provides a Bash script that uses taskset to evenly distribute PHP‑FPM processes across all CPUs, plus a cron tip to keep the setting persistent.

CPU affinitympstatphp-fpm
0 likes · 6 min read
How to Fix CPU0 Overload on Multi‑Core Web Servers Using taskset and PHP‑FPM