From: Alex <mys...@gm...> - 2015-08-11 23:13:38
|
Hi, I've been running sqlgrey on fedora for quite a while, set up to use DB_Cluster with a single master set up with mysql (mariadb). Recently, I've started to receive a large number of "sqlgrey encountered an SQL error and triggered a reconnection" messages, followed immediately by a reconnection message. It seems to happen at all times during the day, not just when the network or server is congested or busy. There are three read_hosts, including the master itself, but one of the hosts has multiple DNS names, so it may be listed twice. I don't exactly remember how the database schema was set up, which is kind of a problem if I ever had to set it up again. I've included the sqlgrey.conf config below, in hopes someone had some ideas how to troubleshoot this. This is the config that's been working fine for more than a year. # cat sqlgrey.conf |grep '^[a-z|A-Z]' loglevel = 3 log_override = whitelist:1,grey:3,spam:2 reconnect_delay = 5 awl_age = 31 group_domain_level = 10 db_type = mysql db_name = sqlgrey db_host = ns1.example.com;mysql_connect_timeout=1 db_port = default db_user = sqlgrey db_pass = mypass db_cleanup_hostname=ns1.example.com db_cleandelay = 1800 clean_method = sync db_cluster = on read_hosts=localhost,ns1.example.com,mail02.example.com,mail03.example.com,mail01.example.com prepend = 1 admin_mail = 212...@me... Thanks, Alex |