the server cache quickly rises to full

General support questions
Post Reply
adira.pratama
Posts: 1
Joined: 2024/02/05 04:21:20

the server cache quickly rises to full

Post by adira.pratama » 2024/02/12 07:36:10

my centos 7 server version is : 7.9.2009
Memory size : 16GB

i have issues with buff/cache size, my buff/cache is quickly increase gradually until reach its full size (16GB).
if the buff/cache is full , all application is terminated and cannot be started again, so i need to restart the server to reset the cache.

i also do a monitoring by command htop and it shows that the cache is only around 1GB , and the used memory is 15GB.

i have checked the application that i've been using (media control platform from genesys) and there's no error related to caching.

i need help to find the solution for this issue, is there anything i should check more?

Thank you

Whoever
Posts: 1356
Joined: 2013/09/06 03:12:10

Re: the server cache quickly rises to full

Post by Whoever » 2024/02/12 14:06:47

First of all, I suggest that you read this page:
https://www.linuxatemyram.com/

Post the output of the "free" command.

What's killing the applications? If it's the OOM killer, there will be entries in the logs. However, if it's the OOM killer, once the misbehaving application has been killed, you should be able to restart it. Are you sure the applications that you want are not running?

User avatar
TrevorH
Site Admin
Posts: 33154
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: the server cache quickly rises to full

Post by TrevorH » 2024/02/12 15:47:45

I suspect a bug in the application. I've recently seen something similar with a freeswitch instance where it ran for 4 days and gradually the available RAM on the server reduced yet nothing appeared to be using it. The totals shown in top did not add up to the amount of RAM on the machine. Restarting the app immediately restored the "missing" RAM. I have not done any investigation of this to find out where it was going but the only thing that had changed was an upgrade of freeswitch to the latest 1.10.11 version. We've backed that version out now and the problem has not recurred.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply