[ZODB-Dev] "MySQL server has gone away" with RelStorage

Shane Hathaway shane at hathawaymix.org
Sat Oct 23 13:48:45 EDT 2010


On 10/23/2010 01:29 AM, Chris Withers wrote:
> Hi Shane,
>
> With the server I'm testing on, when coming back to test after a couple
> of days working on something else, I get the following logged at Warning:
>
> Reconnecting load_conn: (2006, 'MySQL server has gone away')
>
> Does this mean the reconnection is being handled by RelStorage or that I
> need to do some work?

That just means MySQL is timing out connections, which is fine.  That 
message was probably followed immediately by an info message saying that 
it reconnected.

> Also, after this, it seems life the ZODB object cache is emptied.
> Is that happening or is it just my imagination?

That's possible, but reconnection alone should not cause it.

Shane


More information about the ZODB-Dev mailing list