OpenBSD has a default open file descriptor limit of 64. As such, many of my web apps had been quitting on the "too many open files" error (error 24). To fix this, use the following steps:
1. Edit /etc/login.conf and make sure the openfile limit is set to a larger number than it currently is.
2. Use ulimit -n
to set the maximum number of open files. To see current limit, use "ulimit -a".
2 comments:
People should read this.
proved helpful for me. thanks!
Post a Comment