splunk / eventgen

Splunk Event Generator: Eventgen
Apache License 2.0
380 stars 179 forks source link

Fix process leak and start/stop 500 issue #344

Closed li-wu closed 5 years ago

li-wu commented 5 years ago

Fix existing issues:

  1. Invoke start/stop multiple times will cause process leak since multiprocessing.manager process is not properly destroyed;
  2. Broken pipe/EOFError exception will throw when calling the REST interface;
  3. /stop endpoint will return 500 with No file descriptor available;