Skip to content

OpenLiberty opens a lot of database sessions #34103

@wumacH

Description

@wumacH

Describe the bug
Since we upgraded OpenLiberty from 25.0.0.2 to 26.0.0.1 we see a strange behaviour around the opened sessions to the datasource.
Before the upgrade OpenLiberty created around 40-50 sessions per day. The duration of a session was nearly around 23h, which is nearly the value we configured (see property agedTimeout in connectionManager). Since the upgrade there are a lot of sessions created (around 1200 - 2300 per day). A session is usually closed after around 35-40 minutes.

Anyone having an idea, what could cause the issue?

Thanks for your help!

Best regards
Markus

Configuration for our datasource:

Diagnostic information:

  • OpenLiberty Version: 26.0.0.1
  • Java Version: Java 8
  • Database: Oracle
  • Persistence Provider: Hibernate 5
  • Features:
  • batch-1.0 ejbLite-3.2 ejbPersistentTimer-3.2 jaxws-2.2 jaxb-2.2 javaMail-1.6 jdbc-4.2 servlet-4.0 appSecurity-3.0 cdi-2.0 jaxrs-2.1 jndi-1.0 jpa-2.2 managedBeans-1.0 restConnector-2.0 localConnector-1.0 adminCenter-1.0 batchManagement-1.0 wsSecurity-1.1 mpOpenAPI-2.0

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions