----- Original Message -----
> From: "Markus Falb" <markus.falb@stripped>
> But why is retrying better than raising the value?
> So what is better, adjusting the timeout or retrying application side
> and why?
Well, raising the timeout would probably help, but may cause more concurrent connections
to stay open until they block the server.
The idea of retrying is that everything you've done before that particular transaction has
already been committed, so you (probably) can't easily undo it. A retry gives you a chance
to still finish what you were doing with no other loss than some time waiting. Regardless
of how many retries fail, you will still be in the same position as you were when the
first attempt failed.
Linux Bier Wanderung 2012, now also available in Belgium!
August, 12 to 19, Diksmuide, Belgium - http://lbw2012.tuxera.be