... | ... |
@@ -98,6 +98,7 @@ function clean_swap () { |
98 | 98 |
exit (used > 31 && free - used > 0) |
99 | 99 |
} |
100 | 100 |
'; then |
101 |
+ echo 1 > /proc/sys/vm/drop_caches |
|
101 | 102 |
systemctl stop dphys-swapfile \ |
102 | 103 |
&& systemctl stop zram \ |
103 | 104 |
&& systemctl start zram \ |