Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Random hibernate exceptions giving me the 500 page #19

@biddster

Description

@biddster

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.

https://confluence.atlassian.com/display/STASHKB/Connection+Timeout+with+MySQL+Database

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:

node['mysql']['tunable']['wait_timeout']         = '720'

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?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions