Hi guys,
I'm running a Linode 512, and after running mysqltuner and doing a bit of experimentation I've gotten to the following state with my my.cnf:
Code:
connect_timeout = 10
interactive_timeout = 25
join_buffer_size = 1M
key_buffer_size = 128M
query_cache_limit = 1M
query_cache_size = 64M
query_cache_type = 1
max_allowed_packet = 20M
max_connect_errors = 10
max_connections = 200
max_heap_table_size = 8M
myisam_sort_buffer_size = 16M
read_buffer_size = 1M
sort_buffer_size = 4M
table_cache = 3000
thread_cache_size = 20
tmp_table_size = 8M
wait_timeout = 300
Based on what I've been researching this is a somewhat suitable set-up, but I'm looking for maximum speed and scalability — don't want it to fall over when I'm hit with load.
I know I can tweak as times goes on, but if anyone can see anything strikingly awry could you let me know? I suspect I might not have calculated my memory usage right and could end up in a situation where I overwhelm my VPS but I'm not quite sure to be honest, there're a lot of memory-based options!
I'll be running a WordPress site and a phpBB forum primarily, so getting this right is fairly important. Any help would be much appreciated.
