Feng Lee 10 năm trước cách đây
mục cha
commit
0e904f2d36
1 tập tin đã thay đổi với 7 bổ sung3 xóa
  1. 7 3
      rel/files/vm.args

+ 7 - 3
rel/files/vm.args

@@ -22,6 +22,9 @@
 ## max process numbers
 +P 8192
 
+## Sets the maximum number of simultaneously existing ports for this system
++Q 8192
+
 ## max atom number
 ## +t
 
@@ -29,12 +32,13 @@
 ## Env
 ##-------------------------------------------------------------------------
 
-## Increase number of concurrent ports/sockets
--env ERL_MAX_PORTS 4096
+## Increase number of concurrent ports/sockets, deprecated in R17
+-env ERL_MAX_PORTS 8192
 
--env ERTS_MAX_PORTS 4096
+-env ERTS_MAX_PORTS 8192
 
 -env ERL_MAX_ETS_TABLES 1024
 
 ## Tweak GC to run more often
 -env ERL_FULLSWEEP_AFTER 1000
+