Skip to content

Pool objects are not going back to available pool. #225

@JankiGadhiya

Description

@JankiGadhiya

Hi All,

We are in a serious mess because of this issues. My website is in production and every single day we are facing this issues since last 2 week.

My pool connection configurations are:

pool: {
      min: 5,
      max: 30,
      acquireTimeoutMillis: 60000,
      evictionRunIntervalMillis: 1000
    }

at the start of the service my pool statistics are:
Available : 30
Size : 30
Pending : 0
Borrowed : 0

After execution of some 500 requests, The pool statistics are doubtable.

Available : 0
Size : 30
Pending : 0
Borrowed : 0

i.e. the pool should contain minimum available connections after the execution but it is not happening in my case.

For this pool statistics I am getting Resource Request timeout . There are cases when it is working fine.

Available : 1
Size : 30
Pending : 0
Borrowed : 0 (Working)

Available : 30
Size : 30
Pending : 0
Borrowed : 0 (Working)

Available : 0
Size : 30
Pending : 0
Borrowed : 0 (Not Working)

The mssql module is not able to create available minimum connection after some time. Can anyone suggest any connection configuration or is this any bug?

PS : My MSSQL is azure managed service.

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