Subject : Solaris¿¡¼ ÈÀÏ open °¹¼ö¸¦ ´Ã¸®´Â ¹æ¹ý
Description :
Solaris ¿¡¼ openÇÒ ¼ö ÀÖ´Â ÈÀÏÀÇ °¹¼ö¸¦ ´ÃÀ̱â À§Çؼ´Â
´ÙÀ½°ú °°Àº ÀÛ¾÷À» ÇØÁÖ¾î¾ß ÇÑ´Ù.
# vi /.cshrc ¿¡ ´ÙÀ½ »çÇ×À» Ãß°¡½ÃŲ´Ù.
limit descriptors 256 -----> À̰ÍÀÌ ÈÀÏ Open °¹¼ö·ê ´Ã¸±¼ö ÀÖ´Â Key !
# man limit Çϸé ----> cshrc¿¡ ´ëÇÑ Ç׸ñ¾È¿¡ limit °ü·Ã ³»¿ëµéÀÌ displayµÊ.
limit [-h] [resource [max-use]]
Limit the consumption by the current process or
any process it spawns, each not to exceed max-use
on the specified resource. If max-use is omitted,
print the current limit; if resource is omitted,
display all limits.
-h Use hard limits instead of the current lim-
its. Hard limits impose a ceiling on the
values of the current limits. Only the
super-user may raise the hard limits.
resource is one of:
cputime Maximum CPU seconds per pro-
cess.
filesize Largest single file allowed.
datasize Maximum data size (including
stack) for the process.
stacksize Maximum stack size for the
process.
coredumpsize Maximum size of a core dump
(file).
descriptors Maximum value for a file
descriptor.
max-use is a number, with an optional scaling fac-
tor, as follows:
nm n megabytes or minutes (for
# limit Çϸé ÇöÀçÀÇ setting°ªÀÌ DisplayµÊ.
hyundai1# limit -----> ÇöÀç OpenÇÒ ¼ö ÀÖ´Â ÈÀÏ °¹¼ö¸¦ º¸±âÀ§ÇÑ ¸í·Á¾î.
cputime unlimited
filesize unlimited
datasize unlimited
stacksize 8192 kbytes
coredumpsize unlimited
memoryuse unlimited
descriptors 64
hyundai1# limit -h ------> H/WÀûÀ¸·Î ÈÀÏ OpenÇÒ¼ö ÀÖ´Â °¹¼ö
cputime unlimited
filesize unlimited
datasize unlimited
stacksize unlimited
coredumpsize unlimited
memoryuse unlimited
descriptors 256 -------> H/WÀûÀ¸·Î ÈÀÏ OpenÇÒ¼öÀÖ´Â °¹¼ö´Â 256À¸·Î ÀâÇô
ÀÖÀ¸³ª À§ÀÇ displayó·³ 64¸¸ ÇöÀç »ç¿ë °¡´É.
# limit descriptors 256 À» /.cshrc ¿¡ Ãß°¡ÇÑ ÈÄ º¸¸é
hyundai1# limit
cputime unlimited
filesize unlimited
datasize unlimited
stacksize 8192 kbytes
coredumpsize unlimited
memoryuse unlimited
descriptors 256 ---------> ¹Ù²î¾úÀ½.
Revision History
ÀÛ¼ºÀÏÀÚ : 96.06.12
ÀÛ¼ºÀÚ : ±èÇö
¼öÁ¤ÀÏÀÚ :
¼öÁ¤ÀÚ