Page 1 of 1

Customized accel is not freeing memory once allocated

Posted: 22 Nov 2018, 10:02
by usman
It was found that Accel keeps using more memory at a high rate when clients are connected to it and the system crashes when a major chunk of virtual machine’s memory is consumed. The higher the number of connected clients, the sooner the system runs out of memory.
The major problem is that whenever a new space is allocated in pool by using mempool_alloc(), it is not being freed by calling mempool_free() function.