Commit d5d23d

2026-01-31 04:33:53 Anonymous: clear memory 2
clear memory.md ..
@@ 4,15 4,15 @@
Every Linux System has three options to clear cache without interrupting any processes or services.
- 1. Clear PageCache only.
+ ### 1. Clear PageCache only.
<code>sync; echo 1 > /proc/sys/vm/drop_caches</code>
- 2. Clear dentries and inodes.
+ ### 2. Clear dentries and inodes.
<code>sync; echo 2 > /proc/sys/vm/drop_caches</code>
- 3. Clear pagecache, dentries, and inodes.
+ ### 3. Clear pagecache, dentries, and inodes.
<code>sync; echo 3 > /proc/sys/vm/drop_caches</code>
@@ 24,7 24,7 @@
Is it a good idea to free Buffer and Cache in Linux that might be used by Linux Kernel?
- Free Buffer and Cache in Linux
+ ### Free Buffer and Cache in Linux
When you are applying various settings and want to check, if it is actually implemented specially on the I/O-extensive benchmark, then you may need to clear the buffer cache. You can drop cache as explained above without rebooting the System i.e., no downtime required.
@@ 68,7 68,7 @@
At the same time, the scheduled script runs and clears everything in the cache. Now all the users are fetching data from the disk. It will result in a server crash and corrupt the database. So clear ram-cache only when required, and known your footsteps,
- How to Clear Swap Space in Linux?
+ ### How to Clear Swap Space in Linux?
If you want to clear Swap space, you may like to run the below command.
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9