memcached icon indicating copy to clipboard operation
memcached copied to clipboard

process hangs after close()

Open yofreke opened this issue 5 years ago • 0 comments

My process fails to connect to a memcache server in test logic, then the process hangs. I am calling memcached.end();, but the process still hangs.

After debugging with node debugger, and wtfnode, I was able to determine that memcached was generating a couple timers in connection.js.

After waiting 5 minutes (the failuresReset timeout), the process exits as expected.

Ideally memcache.end also closes any in-process timers, so the process may exit.

yofreke avatar Jun 25 '19 11:06 yofreke