°Ô½Ã¹° 260°Ç
   
[redhat6.8] kernel.sem ¼³Á¤ ¹æ¹ý ¹× ¼³¸í [ sysctl.conf / Semaphore ]
±Û¾´ÀÌ : theko ³¯Â¥ : 2016-12-13 (È­) 10:13 Á¶È¸ : 4404


È®Àιæ¹ý 1
# ipcs -l | grep -A5 Semaphore

------ Semaphore Limits --------
max number of arrays = 128
max semaphores per array = 250
max semaphores system wide = 32000
max ops per semop call = 32
semaphore max value = 32767


È®Àιæ¹ý 2
# cat /proc/sys/kernel/sem
250 32000 32 128



SEMMSL: ¹è¿­´ç ÃÖ´ë ¼¼¸¶Æ÷¾î ¼ö (max semaphores per array)
SEMMNS: ½Ã½ºÅÛ Àüü ÃÖ´ë ¼¼¸¶Æ÷¾î ¼ö (max semaphores system wide)
SEMOPM : ¼¼¸¶Æ÷¾î È£Ãâ´ç ÃÖ´ë operation ¼ö (max ops per semop call)
SEMMNI: ÃÖ´ë ¹è¿­ ¼ö(max number of arrays)



ÀϽà º¯°æ
sysctl -w kernel.sem="1000 32000 100 512"


¿µ±¸ º¯°æ
# vi /etc/sysctl.conf
kernel.semÀ» ã¾Æ¼­ °ªÀ» ¼öÁ¤ÇÑ´Ù.

#kernel.sem = 250 32000 32 128
kernel.sem = 1000 32000 100 512

À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

miwit.com sir.co.kr DNS Powered by DNSEver.com DNS Powered by DNSEver.com