Skip to content

Commit

Permalink
Set the default configuration kern.ncallout(number of entries in
Browse files Browse the repository at this point in the history
callwheel and size of timeout() preallocation).
  • Loading branch information
logwang committed Mar 1, 2018
1 parent eba4f71 commit 6b34d16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/nginx-1.11.10/conf/f-stack.conf
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ net.inet.tcp.syncache.bucketlimit=100

net.inet.tcp.tcbhashsize=65536

kern.ncallout=262144

[freebsd.sysctl]
kern.ipc.somaxconn=32768
kern.ipc.maxsockbuf=16777216
Expand Down
2 changes: 2 additions & 0 deletions config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ net.inet.tcp.syncache.bucketlimit=100

net.inet.tcp.tcbhashsize=65536

kern.ncallout=262144

[freebsd.sysctl]
kern.ipc.somaxconn=32768
kern.ipc.maxsockbuf=16777216
Expand Down

0 comments on commit 6b34d16

Please sign in to comment.