Explorar el Código

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

grunfink hace 4 meses
padre
commit
f1bdb50d02
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  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"