I have dedicated server (Intel Quad Core Xeon E5645 VT, 6 GB RAM). But i have problems with mysql.
My site have 40-60k unical users every day. I need to config my.cnf for best performance.
My currently config:
key_buffer = 256M
max_allowed_packet = 32M
thread_stack = 320K
thread_cache_size = 20
myisam-recover = BACKUP
max_connections = 500
myisam_sort_buffer_size = 24M
table_cache = 1024
tmp_table_size = 48M
query_cache_limit = 3M
query_cache_size = 128M