How to increase FD in OSX

$ sysctl kern.maxfiles
kern.maxfiles: 12288
$ sysctl kern.maxfilesperproc
kern.maxfilesperproc: 10240
$ sudo sysctl -w kern.maxfiles=1048600
kern.maxfiles: 12288 -> 1048600
$ sudo sysctl -w kern.maxfilesperproc=1048576
kern.maxfilesperproc: 10240 -> 1048576
$ ulimit -n
256
$ ulimit -n 1048576
$ ulimit -n
1048576

이 블로그의 인기 게시물

둘 중 누군가 그녀를 죽였다, 범인 해설

How to set password authentication with ec2-user of AWS

Start an Apache Web Server in Mac OS X Mavericks & Mountain Lion