My httpd connections are using too much memory and I'd like to fix it. MySQLTuner.pl is a fantastic little script to do something similar for MySQL. Is there something like this available for Apache?
MySQLTuner is a script written in Perl that allows you to review a MySQL installation quickly and make adjustments to increase performance and stability. The current configuration variables and status data is retrieved and presented in a brief format along with some basic performance suggestions.
could be helpful.
Both apachetuner.sh and apachebuddy.pl are now out of date.
The most recent version of this is apache2buddy.pl (https://github.com/richardforth/apache2buddy).
By naitan's answer I checked for apache tuner and apache buddy which were written by same person. They don't seem help too much. Very limited when compared to mysqltuner or mysql primer's capabilites. You can use them like this:
# cd /opt
# wget https://raw.github.com/gusmaskowitz/apachebuddy.pl/master/apachebuddy.pl
# chmod +x apachebuddy.pl
# wget https://raw.github.com/gusmaskowitz/apachetuner/master/apachetuner.sh
# chmod +x apachetuner.sh
# /opt/apachebuddy.pl
# /opt/apachetuner.sh
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With