Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory Leak: bunyan still running after piped process is killed on Linux #661

Open
bblatnick32 opened this issue Feb 23, 2021 · 2 comments

Comments

@bblatnick32
Copy link

bblatnick32 commented Feb 23, 2021

Steps to Reproduce on Linux:

  1. Run tail -f on a file and pipe into bunyan
    For example: "tail -f /var/log/web-log.log | bunyan"
  2. Ctrl-C to kill tail.
  3. "ps aux | grep bunyan" shows bunyan still running.
@bblatnick32
Copy link
Author

Sorry instead of Ctrl-C....exit out of the tab. Start a new tab to run step 3

@AustinFelipe
Copy link

AustinFelipe commented Mar 17, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants