Colleagues, tell me, from which side should I approach the problem?
Apparently, Asterisk occupies, but does not free up memory for the CPU cache during operation.
I am using the htop utility and I see yellow characters growing in the Mem section, indicating the fraction of RAM used by the CPU cache. At the same time, the memory occupied by the kernel, applications, and buffers is freed quite normally.
Here is what is said in detail about cache - “kernel memory residing in RAM and used to store the contents of files read from disk”.
In about one or three days of operation, this cache takes up all the memory and problems begin with sound streams - in fact, they start working 10-20 seconds after connecting. After a reboot, the amount of memory occupied by this cache decreases to a very small one, and in the absence of a telephone load, it hardly grows or grows, but very slowly.
Where to find the cause of the problem?
Appreciated in advance for ideas.