##########################
apache config for low ram usage
vi /etc/httpd/conf/httpd.conf
##########################
Timeout 300
TraceEnable On
ServerSignature Off
ServerTokens Full
FileETag All
StartServers 1
<IfModule prefork.c>
MinSpareServers 2
MaxSpareServers 3
</IfModule>
<IfModule itk.c>
MinSpareServers 2
MaxSpareServers 3
</IfModule>
ServerLimit 256
MaxClients 150
MaxRequestsPerChild 4000
KeepAlive Off
KeepAliveTimeout 5
MaxKeepAliveRequests 100
##########################################
Mysql config for low ram usage
vi /etc/my.cnf
##########################################
[mysqld]
default-storage-engine=MyISAM
innodb_file_per_table=1
max_allowed_packet=268435456
open_files_limit=10000
query_cache_size=16M
Click to rate this post!
[Total: 0 Average: 0]