coopernurse / node-pool

Generic resource pooling for node.js
2.37k stars 258 forks source link

Consistently occuring `ResourceRequest timed out` Error #298

Open blue-int opened 2 years ago

blue-int commented 2 years ago

I deployed node instances using generic-pool through k8s. But after some time, which varies from 3 days to a few weeks, the generic pool of pods spit out TimeoutError when they receive any resource request. Therefore, I have to restart the pods when the error occurs, which is very annoying. Have anyone experienced this kind of error before? The stack message is as follows.

TimeoutError: ResourceRequest timed out
    at ResourceRequest._fireTimeout (/home1/irteam/deploy/x-ray/node_modules/generic-pool/lib/ResourceRequest.js:62:17)
    at Timeout.bound (/home1/irteam/deploy/x-ray/node_modules/generic-pool/lib/ResourceRequest.js:8:15)
    at listOnTimeout (node:internal/timers:557:17)
    at processTimers (node:internal/timers:500:7)

Thank you very much.

mjw-git commented 10 months ago

did you resolve it?