ulimit
±Û   ¾´   ÀÌ linux
³¯         Â¥ 2003³â 03¿ù 03ÀÏ 10½Ã 18ºÐ 43ÃÊ
º»         ¹® ÇÁ·Î¼¼½º »ç¿ë °ü·Ã ÃÖÀûÈ­

ulimit

»ç¿ëÀÚº° ÇÁ·Î¼¼½º(ŽºÅ©)¿Í »ç¿ë ÆÄÀÏ ¼öÀÇ Á¦ÇÑÀ» °áÁ¤ÇÒ ¼ö ÀÖ´Â ulimitÀÌ Àִµ¥
¸ÕÀú ÇÁ·ÒÇÁÆ®¿¡¼­ ´ÙÀ½°ú °°ÀÌ ÀÔ·ÂÇØ º¸ÀÚ.

[root@maso]# ulimit -a

±×·¯¸é ´ÙÀ½°ú °°Àº °á°ú°¡ Ãâ·ÂµÉ °ÍÀÌ´Ù.

core file size (blocks) 0
data seg size (kbytes) unlimited
file size (blocks) unlimited
max memory size (kbytes) unlimited
stack size (kbytes) 8192
cpu time (seconds) unlimited
max user processes 256
pipe size (512 bytes) 8
open files 1024
virtual memory (kbytes) 2105343

max user processÀÇ °ªÀÌ 256ÀÎ °ÍÀ» È®ÀÎÇÒ ¼ö ÀÖ´Ù. ÀÌ °ªÀ» ¹«ÇÑ´ë·Î ¹Ù²Ù±â
À§Çؼ­´Â ´ÙÀ½°ú °°ÀÌ ÇÑ´Ù.

[root@maso]# ulimit -u unlimited

ÇÑ »ç¿ëÀÚ°¡ ¿­ ¼ö ÀÖ´Â ÆÄÀÏ ¼ö¸¦ ¹Ù²Ù·Á¸é ´ÙÀ½°ú °°ÀÌ ÇÑ´Ù.

[root2maso]# ulimit -n 4096

´Ù½Ã ulimit -a¸¦ ÀÔ·ÂÇÏ¸é º¯°æµÈ »çÇ×À» »ìÆ캼 ¼ö ÀÖÀ» °ÍÀÌ´Ù. ¼³Á¤ÇÏ·Á´Â °ªÀÌ
Ç×»ó Àû¿ëµÇ±â À§Çؼ­´Â ½© ½ºÅ©¸³Æ®(/root/ .bashrc)¿¡ »ç¿ëÇÑ ¸í·É¾î¸¦ Ãß°¡½ÃÄÑ
ÁØ´Ù.


°ü·Ã °Ô½Ã¹° : 1 (Total 1 Articles)
¹ø È£ Á¦ ¸ñ ±Û¾´ÀÌ ÀÛ¼ºÀÏ Á¶È¸¼ö ¼± ÅÃ
1  ulimit linux03-03-03413