1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-14 19:41:51 +00:00

Increase fd

This commit is contained in:
Ycarus 2018-03-27 10:35:03 +02:00
parent 9521cabee6
commit f358d8f929
2 changed files with 2 additions and 1 deletions

View file

@ -60,6 +60,7 @@ _launch_tracker() {
procd_append_param env "OMR_TRACKER_DEVICE=$ifname"
procd_append_param env "OMR_TRACKER_DEVICE_GATEWAY=$gateway"
procd_append_param env "OMR_TRACKER_TYPE=$type"
procd_set_param limits nofile="51200 51200"
procd_set_param respawn 0 10 0
procd_set_param stderr 1
procd_close_instance

View file

@ -1,6 +1,6 @@
# local sysctl settings can be stored in this directory
# max open files
fs.file-max = 51200
fs.file-max = 512000
# max read buffer
net.core.rmem_max = 134217728
# max write buffer