A couple of weeks ago I made a thread about running ASL on a server with Percona 5.6 and then I experienced problems with ASL being unresponsive and support identified that mysql was hitting ~200%. Turns out it was a problem with the my.cnf I was using.
ASL works fine with the following, default, config
Code: Select all
[mysqld]
log-warnings=2
query_cache_size=32m
#bind-address=127.0.0.1
local-infile=0
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
innodb_buffer_pool_size=3GB
key_buffer_size=3GB
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
Code: Select all
[mysqld]
query_cache_size=32m
log-warnings=2
#bind-address=127.0.0.1
local-infile=0
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
#key_buffer_size=3GB
slow_query_log=1
slow_query_log_file = /var/log/mysql/sloq_queries.log
long_query_time = 3
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
#default-storage-engine = MyISAM
# MyISAM #
key-buffer-size = 10G
myisam-recover = FORCE,BACKUP
max-allowed-packet = 512M
expire-logs-days = 14
tmp-table-size = 128M
max-heap-table-size = 128M
max-connections = 500
thread-cache-size = 50
open-files-limit = 65535
table-definition-cache = 1024
table-open-cache = 2048
From what I can gather, the modified config is MYISAM centric with no setting for innodb and by looking at the the DB I can see that apart from one table all the others are innodb. Could you guys let me know what I'm missing for ASL?
Thanks