These are the results of "top." I was just concerned cache was using so much memory. top - 06:10:48 up 3 days, 12:57, 1 user, load average: 0.10, 0.13, 0.14 Tasks: 159 total, 1 running, 158 sleeping, 0 stopped, 0 zombie %Cpu(s): 0.7 us, 0.3 sy, 0.0 ni, 98.9 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st KiB Mem : 32687160 total, 11278224 free, 1208340 used, 20200596 buff/cache KiB Swap: 16760828 total, 16760828 free, 0 used. 30824124 avail Memory I have not optimize the server and mysql yet. I have scripts monitoring and when I have enough results, I'll optimize.
Hello linuxers, I'm running a CentOS server (specs below) with 32 GB memory. My problem is 18.49 GB of the 32GB is used by cache. That seems to be a lot. Is that a good thing or cache is using too much? I'm running a cryptocurrency website. I cache a lot of stuff because I'm using API to pull cryptocurrency prices like the ones on this page: https://www.cryptozink.io/live-cryptocurrency-coins-prices/. Is cache keeping the site from running out of memory or it's using too much and I should I reduce the number of pages cache? If I don't cache so much, will my the site slows down? Specs: OS: CentOS Linux 7.7.1908 (Core) CPU: Intel(R) Xeon(R) CPU E3-1225 v3 @ 3.20GHz (4 core(s)) PLSK.05980134.0003 System Uptime: 3 day(s) 09:58 Total memory: 31.17 GB Used: 20.04 GB Cache: 18.49 GB