I'm curious. Are they queued, lost, stuck in php connect_timeout till MySQL/MariaDB comes up?
Kirrus's questions
Periodically or when the application is reloaded, tomcat6 is logging this into catalina.out:
06-Jul-2012 17:30:07 org.apache.catalina.startup.HostConfig deployDescriptor
SEVERE: Error deploying configuration descriptor home.xml
server.xml:
<Host name="www.mysitecom" appBase="/home/myuser/webapps" autoDeploy="true">
<Alias>mysitecom</Alias>
<Context path="/manager" privileged="true" docBase="/home/myuser/manager"/>
<Context path="" docBase="/home/myuser/public_html" reloadable="true" cachingAllowed="false"/>
</Host>
Caching is disabled as this is still under heavy development; it's caused headaches. I've tried setting the logging to FINE, but, apart from giving me unrelated data, it's not provided anything helpful. The only two lines shown in catalina.out are those above.
The website appears to work normally, but this error is worrying.
We use the Varnish HTTP accelerator, and heartbeat. It would be good to have heartbeat aware of varnish so it can handle moving IPs and starting up varnish as one service and ensure that the route through from the outside works
Does anyone know of a good resource file for varnish to do this?
I have a two way replication setup, with geographically distinct servers. Replication has broken, but I don't want to just choose one as master. Is there some way to restore replication in such a way that the two databases will be re-merged?