centOSでulimit を起動時も最大値にする
echo 'kern.maxfiles=65536' | sudo tee -a /etc/sysctl.conf echo 'ulimit -n 65536' | sudo tee -a /etc/profile echo -e 'limit maxfiles 8192 20480\nlimit maxproc 1000 2000' | sudo tee -a /etc/launchd.conf
でreboot再起動。
echo 'kern.maxfiles=65536' | sudo tee -a /etc/sysctl.conf echo 'ulimit -n 65536' | sudo tee -a /etc/profile echo -e 'limit maxfiles 8192 20480\nlimit maxproc 1000 2000' | sudo tee -a /etc/launchd.conf
でreboot再起動。