Browse Source

Increase ulimit

Aslan Dukaev 5 năm trước cách đây
mục cha
commit
be7c67c904
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      scripts/main.sh

+ 1 - 1
scripts/main.sh

@@ -29,7 +29,7 @@ gen_3proxy >/usr/local/etc/3proxy/3proxy.cfg
 cat >>/etc/rc.local <<EOF
 cat >>/etc/rc.local <<EOF
 bash ${WORKDIR}/boot_iptables.sh
 bash ${WORKDIR}/boot_iptables.sh
 bash ${WORKDIR}/boot_ifconfig.sh
 bash ${WORKDIR}/boot_ifconfig.sh
-ulimit -n 2048
+ulimit -n 65536
 service 3proxy start
 service 3proxy start
 EOF
 EOF