hashicorp / hashicorp/go-plugin

An abnormal termination of the plugin process results in a resource leak in the main process.

Open
#291 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
6.1k
Forks
511
Avg merge
22h 47m
Merged PRs (30d)
4

Description

OS: linux

When the plugin process terminates abnormally, the main process may experience resource leaks, primarily related to "gob.Encode." The amount of this leakage is minimal, but if the number of plugin restarts increases, the amount of leakage also increases. Eventually, the main process may trigger an Out Of Memory (OOM) condition.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.