
我有一台有許多 chroot 的伺服器,每個 chroot 都由不同的使用者群組使用。他們中的大多數人都使用 Jupyter Notebooks,只要筆記本保持開啟狀態,它就會將變數儲存在記憶體中。的輸出free -h
如下;
+-------------------+-------+------+------+--------+---------+--------+
| | total | used | free | shared | buffers | cached |
+-------------------+-------+------+------+--------+---------+--------+
| memory | 70G | 65G | 5.8G | 35G | 25M | 36G |
| -/+ buffers/cache | | 29G | 41G | | | |
| cache | 3.7G | 3.7G | | | | |
+-------------------+-------+------+------+--------+---------+--------+
我無法使用 清理快取
sync; echo 1 > /sys/proc/vm/drop_caches
。為什麼?其他 chroot 中的使用者無法使用快取佔用的記憶體。是否有一個原因?