๋ฐ์ํ
AWS ec2 ubuntu ์๋ฒ์
์ค๋ผํดDB ์ค์น๊ณผ์ ์ค ์ปค๋ํ๋ผ๋ฏธํฐ ๊ฐ ์ค์ ์ ํํ ์ ์ฉํ๋ ค๊ณ ํ๋ ์๋ฌ๊ฐ๋์๋ค.
ubuntu@green:~$ sudo vi /etc/sysctl.conf
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 4056393728
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048586
#์์ฑํ :wq!
ubuntu@green:~$ /sbin/sysctl -p
sysctl: permission denied on key "fs.aio-max-nr", ignoring
sysctl: permission denied on key "fs.file-max", ignoring
sysctl: permission denied on key "kernel.shmall", ignoring
sysctl: permission denied on key "kernel.shmmax", ignoring
sysctl: permission denied on key "kernel.shmmni", ignoring
sysctl: permission denied on key "kernel.sem", ignoring
sysctl: permission denied on key "net.ipv4.ip_local_port_range", ignoring
sysctl: permission denied on key "net.core.rmem_default", ignoring
sysctl: permission denied on key "net.core.rmem_max", ignoring
sysctl: permission denied on key "net.core.wmem_default", ignoring
sysctl: permission denied on key "net.core.wmem_max", ignoring
300x250
'IT' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
TDD(Test-Driven-Development) ๋ฐฉ๋ฒ๋ก (0) | 2022.03.07 |
---|---|
์ ์์ผ(Agile) ๋ฐฉ๋ฒ๋ก ์ด๋ ๋ฌด์์ธ๊ฐ? (0) | 2022.03.07 |
error: rpc failed; curl 92 http/2 stream 0 was not closed cleanly: cancel (err 8) (0) | 2022.02.21 |
ora-01861: literal does not match format string (0) | 2022.02.15 |
not attempting to start nginx, port 80 is already in use. (0) | 2022.02.09 |