I have an internal corporate site that has connections to two different databases on the same mysql instance. Occasionally, usually at night, at least one of those databases will lose it's connection. I wrote a ping script that calls http://mysite/ping to just do "select 1+1" on each database handle, and return a response of whether it succeeded or failed. This runs every five minutes.
What is interesting is that sometimes a database connection is lost, but five minutes later, it's there again. Then five minutes later, it's gone. Sometimes it stays gone. I'm using DBIx::Connector as a "has" attr to setup the connections. So it seems I'm doing everything correctly, but I can't for the life of me figure out why my db connections are dropping. Any ideas? -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/groups/opt_out.
