|
1. shared memory¿Í semaphore setting(os parameter ¼öÁ¤)
# vi /etc/system
forceload:sys/shmsys --- forceload´Â ¾Æ·¡ÀÇ ³»¿ëÀ» °Á¦ Àû¿ë
forceload:sys/semsys
set shmsys:shminfo_shmmax=4294967295
-- ÇϳªÀÇ °øÀ¯¸Þ¸ð¸® ¼¼±×¸ÕƮũ±âÀÇ ÃÖ´ë°ª(byte),
Àüü SGAº¸´Ù Ä¿°Ô ¼³Á¤.
set shmsys:shminfo_shmmin=1 -- ´ÜÀÏ °øÀ¯ ¸Þ¸ð¸®ÀÇ ¼¼±×¸ÕÆ®ÀÇ ÃÖ¼ÒÅ©±â
set shmsys:shminfo_shmmni=400 -- °øÀ¯¸Þ¸ð¸®ÀÇ ½Äº°ÀÚ °¹¼ö
set shmsys:shminfo_shmseg=10
-- ÇϳªÀÇ process¿¡ Á¢¼ÓÇÒ¼ö ÀÖ´Â °øÀ¯¸Þ¸ð¸® ¼¼±×¸ÕÆ®ÀÇ ÃÖ´ë °¹¼ö
set semsys:seminfo_semmni=400 -- semaphore ¼¼Æ® ½Äº°ÀÚ ¼ö
set semsys:seminfo_semmsl=100
-- ÇϳªÀÇ semaphore ¼¼Æ®¿¡ Á¸ÀçÇÒ¼ö ÀÖ´Â semaphoreÀÇ ÃÖ´ëÄ¡
set semsys:seminfo_semmns=400
-- ¼¼Æ®´ç ÀÇ semaphore°³¼ö, ¿À¶óŬÀÇ processÀÇ ¼öº¸´Ù 100ÀÌ»ó Ä¿¾ßÇÔ
set semsys:seminfo_semopm=100
set semsys:seminfo_semvmx=32767
:wq!
# init 6 [sun EE 10000ÀÇ °æ¿ì shutdown] --- system fileÀû¿ëÀ» À§ÇØ
rebooting
# sysdef --- system file ³»¿ëÀÇ Àû¿ë »óÅ ȮÀÎ, semapfore¿Í shared
memory
|