È®Àιæ¹ý 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