1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 <2024> | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 <2024> |
<== Date ==> | <== Thread ==> |
---|
Subject: | Linux buff/cache memory too high when running Archiver Appliance |
From: | "Wang, Lin via Tech-talk" <tech-talk at aps.anl.gov> |
To: | tech-talk at aps.anl.gov |
Date: | Mon, 5 Feb 2024 11:10:43 +0800 (GMT+08:00) |
Dear all,
In our Debian 10 environment, when Archiver Appliance runs for quite a while, the buff/cache memory will become very high. For example, in the virtual machine with 64GB memory, when Archiver Appliance is up for 14 days, 24GB memory is used, whereas 39GB memory are buff/cache and there is only 400MB free memory left as follows.
MiB Mem : 64422.7 total, 398.7 free, 24700.1 used, 39323.9 buff/cache
MiB Swap: 7629.0 total, 6227.7 free, 1401.2 used. 38838.9 avail Mem
Probably it is not a problem since Linux buff/cache will be freed when other applications need memory. However when buff/cache is too high and free memory is too low, the whole Linux OS seems to be very slow.
I would like to hear about experiences from other sites. Is it necessary to deal with this situation or not? If yes, what is the recommended way to reduce or clear the buff/cache memory?
Thanks,
Lin