Better Technology, Better Tomorrow.

Cloud 기술팀 개인 포스팅 자료

Linux General

Webtob/Jeus 성능 튜닝 커널 파라미터 설정

ProLinux 2020. 11. 16. 17:13

 

#vi /etc/security/limits.conf

# nproc tunning - max user processes
*       hard        nproc       unlimited
*       soft         nproc       unlimited
# ulimit -u 로 확인 가능
# nofile tunning - max number of open files
*       soft         nofile       unlimited 
*       hard        nofile       unlimited

 

#vi /etc/sysctl.conf

net.ipv4.tcp_fin_timeout = 30
net.core.netdev_max_backlog = 3000
net.core.somaxconn = 3000
net.ipv4.tcp_keepalive_intvl = 15
net.ipv4.tcp_keepalive_probes = 5
net.ipv4.tcp_keepalive_time = 1200