¸®´ª½º¿¡¼´Â ÃÖ±Ù »ç¿ëÇÑ °ÍµéÀ» ¹ö¸®Áö ¾Ê°í, ¸Þ¸ð¸®¿¡ cache ½ÃÄÑ ³õ°í ´ë±âÇϴµ¥ µð½ºÅ©¿¡¼ ÀÐ¾î ¿À´Â °Íº¸´Ù, ij½ÃµÈ ¸Þ¸ð¸®¿¡¼ Àоî¿À´Â °ÍÀÌ ÈξÀ ºü¸£°í, µð½ºÅ©¿¡ ºÎÇϵµ Àû°Ô °É¸®±â ¶§¹®ÀÔ´Ï´Ù.
µû¶ó¼ ½Ã½ºÅÛ¿¡¼ ¾Ë¾Æ¼ °ü¸®ÇØÁÖ´Â °ÍÀÌ ÀÌÀü¿¡ ½ÇÇàÇß´ø °ÍµéÀ» ºñ¿ìÁö ¾Ê°í cache Çسõ°í ´ë±âÇÏ°í ÀÖ´Â °ÍÀÔ´Ï´Ù.
memory ¿¡ ÀûÀçµÇ ÀÖ´ø cache °Á¦·Î flush
echo 3 > /proc/sys/vm/drop_caches
ÇöÀç ¸Þ¸ð¸® »ç¿ë·®
Ŭ¸®¾î ÀÌÈÄ ÇöÀç ¸Þ¸ð¸® »ç¿ë·®
¸Þ¸ð¸®»ç¿ë·® MRTG ¼öÄ¡
Ä¿³Î»ó¿¡¼ ij½¬¸¦ Ŭ¸®¾îÇÏ°Ô ¸¸µå´Â °ªÀ¸·Î 1,2,3 Áß¿¡ Çϳª¸¦ »ç¿ëÇÏ¸é µÈ¸ç Ä¿³Î 2.6.16 À̻󿡼ºÎÅÍ Ãß°¡µÇ¼ »ç¿ë°¡´ÉÇÏ´Ù.
To free pagecache: (ÆäÀÌÁöÄɽ¬ Ŭ¸®¾î)
- echo 1 > /proc/sys/vm/drop_caches
To free dentries and inodes: (Æ®¸®¿Í ¾ÆÀ̳ëµå Ŭ¸®¾î)
- echo 2 > /proc/sys/vm/drop_caches
To free pagecache, dentries and inodes: (1¹ø°ú 2¹ø ¸ðµÎ Ŭ¸®¾î)
- echo 3 > /proc/sys/vm/drop_caches
As this is a non-destructive operation, and dirty objects are not freeable, the user should run "sync" first in order to make sure all cached objects are freed.