Description
- What versions are you using?
- node-oracle 6.6.0
- nodejs v21.7.3
- Oracle Database 12c Standard Edition Release 12.2.0.1.0 - 64bit Production
- NestJS ^10.3.10
- Typeorm 0.3.20
-
Is it an error or a hang or a crash?
No error thrown by node-oracle but the process become unresponsive. -
What error(s) or behavior you are seeing?
The process reach 100% of CPU usage and no more operation is executed.
We recently upgrade node-oracle to version 6.6.0.
Thin driver is awesome, uses less memory and less cpu than thick.
But after a day or two(random) the process stop to execute operations, the web server stop to receive request and also the background tasks are not executed anymore.
So i have started a debug session with chrome performance tool, i have taken a screenshot(attached)
What i see is that, the process is stuck inside a while loop of the bgThreadFunction in lib/thin/pool.js
At the moment, we have switched to Thick driver and it works, but i'd like to use Thin version of course.
Does anybody have similar problems?
CPU-20241017T222332.cpuprofile