Astersik 20 Consume lots of Memory

I am observing a significant difference in memory consumption after upgrading from Asterisk v16 to v20, despite the lack of active calls. Here’s an analysis of memory data for serverA and serverB:

|Status | serverA | serverB |

|total Calls proceed| 15000 | 65 |
|Total memory | 31840 | 31840 |
|used | 2515 | 2438 |
|free | 1200 | 466 |
|shared | 607 | 607 |
|cache | 29186 | 29996 |
|available | 29325 | 29402|

  1. Can somebody explain this behavior?
  2. Is there any solution to fix this?

Please explain how these figures support that statement.

There is almost no difference in the memory usage, and with less than 10% of memory unavailable, the memory situation indicates the machine is seriously overprovided with memory.

By design Linux (and the Windows NT family) aim to run with only small amounts of memory free. Cache represents things like readonly code, that is being kept in case needed again, and output files, which have been written to disk, but for which the OS doesn’t know that they won’t be read back, in the near future.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.