Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an Apache tuner script like mysqltuner.pl?

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?

like image 920
Ryan Avatar asked Jan 17 '12 21:01

Ryan


People also ask

What is MySQLTuner PL?

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.


3 Answers

  • apachetuner.sh (for RedHat only)
  • apachebuddy.pl

could be helpful.

like image 60
naitan Avatar answered Sep 19 '22 04:09

naitan


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).

like image 37
auhsor Avatar answered Sep 19 '22 04:09

auhsor


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
like image 32
trante Avatar answered Sep 20 '22 04:09

trante