Skip to content

Unable to get new connections from DB, even max pool is not reached. #603

@mrizwanyaqub

Description

@mrizwanyaqub

Unable to get connection from pool in following scenario.

  • update a record in multiple transactions, without committing or rolling back transactions.
  • get new connection from pool, no connection or error is returned.
  • even neither the max pool is reached in application nor in DB server.

Files to reproduce the scenario are attached.

Pool statistics:
...total up time (milliseconds): 195558
...total connection requests: 110
...total requests enqueued: 0
...total requests dequeued: 0
...total requests failed: 0
...total request timeouts: 0
...max queue length: 0
...sum of time in queue (milliseconds): 0
...min time in queue (milliseconds): 0
...max time in queue (milliseconds): 0
...avg time in queue (milliseconds): 0
...pool connections in use: 99
...pool connections open: 99
Related pool attributes:
...poolAlias: default
...queueRequests: true
...queueTimeout (milliseconds): 60000
...poolMin: 2
...poolMax: 120
...poolIncrement: 5
...poolTimeout (seconds): 30
...stmtCacheSize: 30
Related environment variables:
...process.env.UV_THREADPOOL_SIZE: 125

img_01022017_103935

Envirnoments:

  • Node.js version: v4.5.0
  • oracledb node module version: 1.11.0
  • CentOS 6.6
  • Oracle Client 12.1
  • Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production

Unable to upload zip file, don't know why. So uploaded files individually.

dbAssist.js.txt
main.js.txt
package.json.txt
sql.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions