Skip to content

Potential Memory Leak Risk in glustereventsd due to Unbounded Message Queues #4547

Open
@harleyxu-xhl

Description

@harleyxu-xhl

Issue Description:​​
The glustereventsd component has a potential memory leak risk. In the WebhookThreadPool, the message queue self.queue is initialized without specifying a maxsize value. Additionally, the corresponding queues for each webhook server also lack a defined maxsize. If webhook servers fail to consume messages or process them slowly, the message queues may accumulate messages indefinitely, leading to memory exhaustion.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions