°Ô½Ã¹° 260°Ç
   
[Redhat] sysctl.conf
±Û¾´ÀÌ : theko ³¯Â¥ : 2013-07-08 (¿ù) 16:33 Á¶È¸ : 5677
Linux Kernel Parameters (=sysctl.conf)

Parameter
Value
Comment
net.ipv4.ip_forward
net.ipv4.ip_forward = 0
ÀÎÅÍÆäÀ̽º »çÀÌ¿¡ ÆÐŶ±³È¯ °¡´É ¿©ºÎ ¼³Á¤.
net.ipv4.conf.default.rp_filter
net.ipv4.conf.default.rp_filter = 1
IP Spoof ¹æÁö¸¦ À§ÇÑ ¼³Á¤
net.ipv4.conf.default.accept_source_route
net.ipv4.conf.default.accept_source_route = 0
IP Source RoutingÀ» Á¦¾î
kernel.sysrq
kernel.sysrq = 0
Magic-Key Áö¿ø ¿©ºÎ ¼³Á¤
kernel.core_uses_pid
kernel.core_uses_pid = 1
core dump ½Ã ÆÄÀÏ À̸§¿¡ PID¸¦ Æ÷ÇÔ ¿©ºÎ ¼³Á¤
net.ipv4.tcp_syncookies
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0
IPTABLES ±ÔÄ¢À» ÅëÇØ ºê¸®Áö Æ®·¡ÇÈ ¹æÁö
net.bridge.bridge-nf-call-
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0
iptables ±ÔÄ¢À» ÅëÇØ ºê¸®Áö Æ®·¡ÇÈ ¹æÁö
kernel.msgmnb
kernel.msgmnb = 65536
¸Þ½ÃÁö Å¥ÀÇ ÃÖ´ë Å©±â
kernel.msgmax
kernel.msgmax = 65536
µ¿½Ã¿¡ ÇϳªÀÇ ¸Þ½ÃÁö Å¥¿¡ Á¸ÀçÇÒ ¼ö ÀÖ´Â ÃÖ´ë ¹ÙÀÌÆ® ¼ö
kernel.shmmax
kernel.shmmax = 68719476736
°øÀ¯ ¸Þ¸ð¸® ¼¼±×¸ÕÆ® ÃÖ´ë Å©±â¸¦ Á¤ÀÇÇϸç, SGA ¸Þ¸ð¸® ±¸¼º ½Ã ÇÊ¿ä
kernel.shmall
kernel.shmall = 4294967296
ƯÁ¤ ½ÃÁ¡¿¡ »ç¿ë°¡´ÉÇÑ °øÀ¯ ¸Þ¸ð¸®ÀÇ ÃÖ´ë Å©±â¸¦ ¼³Á¤
fs.file-max
fs.file-max = 6815744
»ç¿ë °¡´ÉÇÑ ÆÄÀÏ ÇÚµéÀÇ ÃÖ´ë °³¼ö¸¦ ¼³Á¤ÇÏ¿© OS¿¡¼­ µ¿½Ã¿¡ ¿ÀÇÂÇÒ ¼ö ÀÖ´Â ÆÄÀÏÀÇ ¼ö¸¦ Á¦¾î
fs.aio-max-nr
fs.aio-max-nr = 1048576
Çã°¡µÈ ÃÖ´ë µ¿½Ã ¿äû ¼ö
kernel.sem
¼ø¼­´ë·Î
(semmsl / semmns / semopm / semmni)
kernel.sem = 250 32000 100 128
¼¼¸¶Æ÷¾î °ü·Ã ÆĶó¹ÌÅÍ
- semmsl
: ¼¼¸¶Æ÷¾î ¼¼Æ® ´ç ÃÖ´ë ¼¼¸¶Æ÷¾î ¼ö, ÃÖ¼Ò 250 ÀÌ»ó ±ÇÀå
- semmns
: ½Ã½ºÅÛ¿¡ ÇÒ´çÇÒ ¼ö ÀÖ´Â ¼¼¸¶Æ÷¾îÀÇ ÃÑ ¼ö, ÃÖ¼Ò 32000 ±ÇÀå
- semopm
: ½Ã½ºÅÛ È£Ãâ ´ç ¼öÇàÇÒ ¼ö ÀÖ´Â ÃÖ´ë ¼¼¸¶Æ÷¾î ¼ö, semmsl°ú µ¿ÀÏÇÏ°Ô ¼³Á¤ ¹× ÃÖ¼Ò 100 ÀÌ»ó ±ÇÀå
- semmni
: ¼¼¸¶Æ÷¾î ¼¼Æ®ÀÇ ÃÖ´ë ¼ö Á¦¾î, ÃÖ¼Ò 128 ÀÌ»ó ±ÇÀå
kernel.shmmni
kernel.shmmni = 4096
°øÀ¯ ¸Þ¸ð¸® ¼¼±×¸ÕÆ®ÀÇ ÃÖ´ë ¼ýÀÚ¸¦ ¼³Á¤Çϴµ¥ »ç¿ë
kernel.msgmni
kernel.msgmni = 2878
½Ã½ºÅÛ Àüü¿¡ Á¸ÀçÇÒ ¼ö ÀÖ´Â ¸Þ½ÃÁö Å¥ÀÇ ¼ö¸¦ °áÁ¤
net.ipv4.ip_local_port_range
net.ipv4.ip_local_port_range = 1024 65500
½Å±Ô Á¢¼Ó¿¡¼­ »ç¿ëÇÒ ¼ö ÀÖ´Â Æ÷Æ®ÀÇ »ç¿ë °¡´É ¹üÀ§
net.core.rmem_
net.core.rmem_default = 4194304
net.core.rmem_max = 4194304
´ë¿ë·® ServingÀ» À§ÇÑ ¼³Á¤
net.core.wmem_
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
¼ÒÄÏ Ãâ·Â Å¥ÀÇ ±âº»°ª°ú ÃÖ´ë°ª Á¦¾î

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

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