Search code examples
phpmysqlsymfonydebian

Cache/Buffer RAM Full


Good Morning,

we have a Debian server 11 on Google Cloud Platform.

On this Server we have installed only apache2 service but we have about 10 sites installed.

These sites use php 7 and they were created with Symfony 2.8.

The site's databases is hosted on another server, in another nation.

We have noticed that after two days the server has 27GB cache/buffer used.

enter image description here

Can anyone advise us why we have the cache so full?

Could it be the many queries?

Thank You so much

We have enabled OPCACHE and infact it delete oldest session but we have not solved the problem.


Solution

  • Don't worry about that.

    Linux uses most of the unused memory for cache and buffers. This is a kind of optimizing. It leaves some memory free to allow fast assigning if a program needs memory.

    Current status:

    • 402 MiB used for programs (the most relevant value!)
    • 3 GiB currently unused
    • 27 GiB currently occupied for system optimization (buffers and cache). If free-memory becomes to small, the system will free memory from here.