[Pdns-users] mysql has gone away

Aki Tuomi cmouse at youzen.ext.b2.fi
Wed Sep 17 07:13:49 UTC 2014


On Tue, Sep 16, 2014 at 11:48:03PM -0700, chayes wrote:
> Positive.
> This is a new server with no users yet so I am still testing.
> Logs show no activity in between tests.
> Nothing else running on the server.
> Two servers both with the identical problem.
> Nothing wrong with mysql.
> Many others have had this problem based on my search but they don't specify
> which timeout to change.
> Here is the precise error:
> Sep 16 15:05:27 volon pdns_recursor[12432]: STL error (pki.google.com./28
> from 66.210.32.144): lua error in 'preresolve' while processing query for
> 'pki.google.com.|AAAA: /scripts/pdns.lua:159: LuaSQL: Error executing query.
> MySQL: MySQL server has gone away

Ah you didn't mention you are using a lua script. Don't use persistent
connection, do open query close every time. 

> 
> 
> 
> --
> View this message in context: http://powerdns.13854.n7.nabble.com/mysql-has-gone-away-tp10974p10976.html
> Sent from the PowerDNS mailing list archive at Nabble.com.
> 
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
> 




More information about the Pdns-users mailing list