glusterfs icon indicating copy to clipboard operation
glusterfs copied to clipboard

Potential Memory Leak Risk in glustereventsd due to Unbounded Message Queues

Open harleyxu-xhl opened this issue 7 months ago • 0 comments

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.

harleyxu-xhl avatar May 19 '25 06:05 harleyxu-xhl