Apache2 Perfomance tuning for Low-End VPS

<IfModule mpm_prefork_module> 
StartServers 1 
MinSpareServers 1 
MaxSpareServers 3 
MaxClients 10 
MaxRequestsPerChild 3000

<IfModule mpm_worker_module> 
StartServers 1 
MinSpareThreads 5 
MaxSpareThreads 15 
ThreadLimit 25 
ThreadsPerChild 5 
MaxClients 25 
MaxRequestsPerChild 200

Δεν πρέπει να έχουμε και πολλά στο Log μόνο τα errors. Βοηθάει πολύ όταν δεν υπάρχει πολύ μνήμη.

# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here. If you *do* define an error logfile for a <VirtualHost> # container, that host's errors will be logged there and not here.
ErrorLog ${APACHE_LOG_DIR}/error.log
# LogLevel: Control the number of messages logged to the error_log. # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg.
LogLevel error