Description
apache2buddy is a Perl script that checks how much memory an Apache web server uses and recommends a MaxClients value for the prefork model. It measures the memory of the Apache processes, reports the smallest, average and largest sizes, and compares the recommended value with the RAM the server has. The project's status page lists support for Red Hat family systems, Ubuntu, Debian and Bitnami Apache, and also Gentoo. Systems marked as unable to test should work but have not been checked in the project's Jenkins tests. Each run writes an entry to /var/log/apache2buddy.log, so you can see how your tuning needs change over time. The README warns that the script runs as root, so you should check its md5 or sha256 sums before running it.…
Highlights
- Recommends Apache prefork MaxClients from memory use
- Supports Red Hat family, Ubuntu, Debian and Bitnami
- Logs each run to /var/log/apache2buddy.log
- Runs directly with curl and perl
- Checksums to verify before running
Ratings & Reviews
No ratings yet
Be the first to rate Apache2buddy.
People also visit

benchmark-checklist
Vet a perf measurement (limiter, tuning, limits, errors, repeatability

perf-analyzer
Synthesizing perf findings into evidence-backed recommendations and decisions
Yet Another Bench Script
YABS - a simple bash script to estimate Linux server performance
Apache2buddy FAQ
What does apache2buddy do?
It estimates how much memory each Apache process uses and recommends a MaxClients value that fits the RAM the server has.
Which systems are supported?
The status page lists Red Hat family, Ubuntu, Debian and Bitnami Apache. CentOS is no longer tested, but you can run with -O to skip the OS checks.
How do I run it?
Run it with curl and perl, as the README shows. The project advises checking the md5 or sha256 sums before you run the script.
Is it safe to run?
The README warns that it runs as root, so a compromised script could compromise the server. Verify the checksums before running it.
Where is the log?
Each run adds an entry to /var/log/apache2buddy.log, with the memory per process and the recommended MaxClients over time.
What are the best Apache2buddy alternatives?
Popular alternatives to Apache2buddy include Yet Another Bench Script, Across and Httpinspect. See all Apache2buddy alternatives





