That script is taken from someone else without any contribution (http://blog.strictly-software.com/2013/07/apache-performance-tuning-bash-script.html). Also the English is very bad. Anyway, I've replaced it with some general tips that all web admins should know.
This commit is contained in:
parent
f0a588547d
commit
fb5ac37ca2
@ -382,19 +382,8 @@ stuff on your server that might access MySQL, and Hubzilla's poller which
|
|||||||
needs MySQL access, too. A good setting for a medium-sized hub might be to
|
needs MySQL access, too. A good setting for a medium-sized hub might be to
|
||||||
keep MySQL's max_connections at 100 and set mpm_prefork's
|
keep MySQL's max_connections at 100 and set mpm_prefork's
|
||||||
MaxRequestWorkers to 70.
|
MaxRequestWorkers to 70.
|
||||||
------------------------------------------------------------------------
|
|
||||||
For Calculate Automatic according to your server resources and configure
|
|
||||||
mod_prefork you can Install and Execute ApacheTune
|
|
||||||
|
|
||||||
Home Page: https://github.com/royalterra/apache2tune
|
|
||||||
|
|
||||||
git clone https://github.com/royalterra/apache2tune.git
|
|
||||||
|
|
||||||
cd apache2tune
|
|
||||||
|
|
||||||
chmod +x Apache2tune.sh
|
|
||||||
|
|
||||||
Please Read the Documentation of Apache2tune
|
|
||||||
./Apache2tune.sh
|
|
||||||
|
|
||||||
|
Here are you can read more information about Apache performance tuning:
|
||||||
|
https://httpd.apache.org/docs/2.4/misc/perf-tuning.html
|
||||||
|
|
||||||
|
There are tons of scripts to help you with fine-tuning your Apache installation. Just search with your favorite search engine 'apache fine-tuning script'.
|
||||||
|
Reference in New Issue
Block a user