Subject : tmpfs error

Solution Description:
=====================

Åë»ó tmp file system °ï·ÃÇÏ¿©
"Memory allocation failed, tmpfs over memory limit" ¶Ç´Â 
"File system full, memory allocation failed"µîÀÇ error message À¯ÇüÀ» 
ºÐ¼®ÇÏ¿´À» ¶§ swapÀÇ »ç¿ë°ø°£ÀÌ ÃæºÐÈ÷ ³²¾Æ ÀÖ´Â °æ¿ì¸¦ ¾Ë°ÔµÈ´Ù.

ÀÌ°ÍÀº fileÀ» openÇÒ ¶§ swap space¿¡¼­ ÀÌ·ç¾îÁö´Â°Ô ¾Æ´Ï¶ó memory¿¡¼­
ÀÌ·ç¾îÁö±â ¶§¹®ÀÌ´Ù. ±×·¯¹Ç·Î swap size¸¦ ´Ã¸®´Â °ÍÀº Àǹ̰¡ ¾ø´Ù. 
¿ø·¡ physical memory°¡ ÃæºÐÇÏÁö ¸øÇÏ´Ù¸é tmpf·Î mountÇÏ´Â °ÍÀº Àǹ̰¡
¾ø´Ù. memory¸¦ ´õ ´Ã·ÁÁְųª ´ë½Å¿¡ /tmp¸¦ ufs file systemÀ¸·Î ³öµÎ´Â °Ô 
È¿°úÀûÀÌ´Ù.
¹Ý¸é¿¡ "File system full, swap space limit exceeded" error message°¡ 
¹ß»ýÇϸé swap space¸¦ ´Ã·ÁÁÖ¸é ÇØ°áµÉ °ÍÀÌ´Ù.
tmpfs¸¦ »ç¿ëÇÑ´Ù´Â °ÍÀº virtual memory(swap)¿¡ mountÇÏ¿© »ç¿ëÇÑ´Ù´Â °ÍÀÌ´Ù.
±×·¯¹Ç·Î ºü¸¥ file I/O¸¦ ±â´ëÇÑ´Ù¸é È¿°úÀûÀÌ´Ù. ÇÏÁö¸¸ ±×¸¸Å­ swap°ø°£À»
Â÷ÁöÇÑ´Ù. ±×·¡¼­ tmpfs size¸¦ Á¦ÇÑÇÒ ¼ö ÀÖ´Ù.
¿¹¸¦µé¾î mount option À¸·Î -o size=SZ, ¶Ç´Â 
tmpfs_minfree(tmpfs·Î »ç¿ëÇÒ ¼ö ¾ø´Â swap spaceÀÇ page¼ö¸¦ set)¶ó´Â 
kernel º¯¼ö°ªÀ¸·Î Á¦ÇÑÇÒ¼ö ÀÖ´Ù. 


----------------------------------------------------------------------------

Revision History

ÀÛ¼ºÀÏÀÚ : 97.03.01
ÀÛ¼ºÀÚ : À̹ÎÈ£

¼öÁ¤ÀÏÀÚ :
¼öÁ¤ÀÚ :