1. 문제 진단# dmesg# grep file-max /var/log/messages Nov 20 15:09:40 호스트명 kernel: VFS: file-max limit 65536 reached 2. 현재 메모리에 맞게 fs.file-max 조정new_value=$(free -m | grep Mem | awk '{print $2*100}')awk -v new_value="$new_value" 'BEGIN {found=0} /^fs\.file-max/ {print "fs.file-max = " new_value; found=1; next} {print}END {if (!found) print "fs.file-max = " new_value}' /etc/sysctl.conf > /etc/sysctl..