Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Random hibernate exceptions giving me the 500 page #19
I've installed a monolithic Stash stack on a single Centos 6.4 x64 virtual machine.
I get the Oops 500 page appearing randomly and I'm pretty sure I'm bumping into this bug.
The Stash connection pool timeout (default is 10 mins) is greater than the mysql cookbook wait_timeout (default 3 mins).
I've updated my node attributes to this:
Now Stash reaps connections before mysql has the chance and the errors haven't reappeared for the last 24 hours.
Should we include a setting in stash-config.properties for db.pool.idle.testInterval so that we can override the stash default and default it to node['mysql']['tunable']['wait_timeout'] or 120 seconds where mysql isn't on the box?