Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.1 EE SP3 (5.1.6), 5.2 EE SP1 (5.2.5)
-
All
Description
On systems with a high load, users may no longer be able to add new resources such as wiki pages, message board posts, bookmarks, comments, etc. This situation occurs because the counter's database connection deadlocks. For example: Resource A requires a connection to add something to the database. The connection needs to increment the counter to get the new id, which requires another connection The connections depend on each other and the database runs out of connections. As a result, there are deadlocks.
As part of this bug fix the following property has been added to portal.properties.
#
- The counter operates with is own data source to prevent deadlocks. By
- default, the data source created for the counter uses the same settings as
- those used to create the data source used for the rest of the portal. That
- happens by because the counter service will look up the properties
- prefixed with "jdbc.default." to create its data source. See the JDBC
- properties prefixed with "jdbc.default." for more information.
# - Setting a different value for the counter JDBC prefix allows you to better
- fine tune the counter data source with its own set of configuration
- settings for high availability installations. This property will not need
- to modified in most cases.
#
counter.jdbc.prefix=jdbc.default.
Attachments
Issue Links
- is related to
-
LPS-4507 Counter connections can deadlock under high load
- Closed