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

log_writer process leaks #3

Open
julyclyde opened this issue Nov 30, 2022 · 0 comments
Open

log_writer process leaks #3

julyclyde opened this issue Nov 30, 2022 · 0 comments

Comments

@julyclyde
Copy link

  • pysyslog version:0.1.0
  • Python version:3.9.13
  • Operating System:CentOS 7

Description

log_writer process remains after main process exit

What I Did

run pysyslog
send some logs to it
run ps command and found two python process, the later one holds the log file
kill the main process
run ps command again and found the later one still running

I suggest to use threading.Thread and queue.Queue instead of multiprocess

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

1 participant