[client] port = 3306 socket = /var/lib/mysql/mysql.sock [mysqld] log = /var/log/mysql/mysql-queries.log skip-name-resolve myisam-recover=FORCE,QUICK port = 3306 socket = /var/lib/mysql/mysql.sock log-bin log-slave-updates skip-locking datadir = /data/mysql max_connections=2500 key_buffer=3G sort_buffer=4M record_buffer=1M join_buffer= 2M innodb_data_home_dir = /dev/shm/mysql/ innodb_log_group_home_dir = /dev/shm/mysql/ innodb_flush_method = O_DIRECT innodb_support_xa = 0 innodb_thread_concurrency = 20 innodb_buffer_pool_size = 512M innodb_additional_mem_pool_size = 20M innodb_log_file_size = 64M innodb_log_buffer_size = 8M innodb_lock_wait_timeout = 50 innodb_flush_log_at_trx_commit = 0 innodb_doublewrite = 0 wait_timeout=160 max_allowed_packet=64M myisam_sort_buffer_size=64M thread_cache=256 connect_timeout=1000 table_open_cache = 16384 open_files_limit = 20000 tmp_table_size = 128M tmpdir=/dev/shm long_query_time =2 max_seeks_for_key= 10 max_heap_table_size =128M concurrent_insert =2 server-id = 1 relay-log=/var/lib/mysql/fm1-relay-bin relay-log-index=/var/lib/mysql/fm1-relay-bin log-bin=/var/lib/mysql/fm1-slave-bin log-bin-index=/var/lib/mysql/fm1-slave-bin old_passwords = 1 query_cache_type = 1 query_cache_size = 512M query_cache_limit= 10M log-slow-queries = /var/lib/mysql/mysql-slow.log [mysql.server] user=mysql [mysqld_safe] pid-file=/var/run/mysqld/mysqld.pid [mysqldump] quick set-variable = max_allowed_packet=16M [mysql] no-auto-rehash [isamchk] set-variable = key_buffer=128M set-variable = sort_buffer=128M set-variable = read_buffer=2M set-variable = write_buffer=2M [myisamchk] set-variable = key_buffer=128M set-variable = sort_buffer=128M set-variable = read_buffer=2M set-variable = write_buffer=2M [mysqlhotcopy] interactive-timeout