소스 검색

Call ulimit -n to increase file descriptors in examples/snac_netbsd.

grunfink 4 달 전
부모
커밋
f1bdb50d02
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      examples/snac_netbsd

+ 5 - 1
examples/snac_netbsd

@@ -31,4 +31,8 @@ snac_precmd() {
 }
 
 load_rc_config $name
-run_rc_command "$1"
+
+# increase the number of file descriptors
+ulimit -n 1024
+
+run_rc_command "$1"