node-bunyan
node-bunyan copied to clipboard
Memory Leak: bunyan still running after piped process is killed on Linux
Steps to Reproduce on Linux:
- Run tail -f on a file and pipe into bunyan For example: "tail -f /var/log/web-log.log | bunyan"
- Ctrl-C to kill tail.
- "ps aux | grep bunyan" shows bunyan still running.
Sorry instead of Ctrl-C....exit out of the tab. Start a new tab to run step 3
Interesting. This is happening only when I add a new stream like bunyan-elasticsearch-bulk
.
Running stream.end()
for each stream source works fine as a workaround for me.