Tengo un foro smf con mkportal, he tratado de optimizar el httpd pero no logro resultados, eso si cuando hago un service mysql stop, levanta el server load y la ram al 40% creo que una buena conf del my.cnf me vendría bien, con respecto al tweak he deshabilitado esas opciones que me mencionas
Tengo esto
Código:
[mysqld]
max_connections = 400
key_buffer = 16M
myisam_sort_buffer_size = 32M
join_buffer_size = 1M
read_buffer_size = 1M
sort_buffer_size = 2M
table_cache = 1024
thread_cache_size = 286
interactive_timeout = 25
wait_timeout = 1000
connect_timeout = 10
max_allowed_packet = 16M
max_connect_errors = 10
query_cache_limit = 1M
query_cache_size = 16M
query_cache_type = 1
tmp_table_size = 16M
skip-innodb
[mysqld_safe]
open_files_limit = 8192
[mysqldump]
quick
max_allowed_packet = 16M
[myisamchk]
key_buffer = 32M
sort_buffer = 32M
read_buffer = 16M
write_buffer = 16M
la que venia por defecto
Código:
[mysqld]
max_connections = 150
safe-show-database
skip-locking
key_buffer = 16M
max_allowed_packet = 1M
table_cache = 64
sort_buffer_size = 512K
net_buffer_length = 8K
read_buffer_size = 256K
read_rnd_buffer_size = 512K
myisam_sort_buffer_size = 8M
wait_timeout = 30
[mysqldump]
quick
max_allowed_packet = 16M
[mysql]
no-auto-rehash
[isamchk]
key_buffer = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M
[myisamchk]
key_buffer = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M
Código:
KeepAlive On
MaxKeepAliveRequests 10000
KeepAliveTimeout 5
son entre 6000-7000 visitas unicas diarias, con alrededor de 200 conecciones concurrentes.....