mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-19 16:29:01 +08:00
ulimit -n 300000 open files 300000
This commit is contained in:
@@ -19,7 +19,7 @@ business data.
|
|||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
* Everything in Free
|
* Everything in Free
|
||||||
|
|
||||||
* Scalable architecture
|
* Scalable architecture
|
||||||
|
|
||||||
|
|||||||
@@ -25,6 +25,9 @@ fi
|
|||||||
#Waiting port recycling
|
#Waiting port recycling
|
||||||
sleep 3
|
sleep 3
|
||||||
cd ${msg_gateway_binary_root}
|
cd ${msg_gateway_binary_root}
|
||||||
|
|
||||||
|
ulimit -n 300000
|
||||||
|
|
||||||
for ((i = 0; i < ${#ws_ports[@]}; i++)); do
|
for ((i = 0; i < ${#ws_ports[@]}; i++)); do
|
||||||
nohup ./${msg_gateway_name} -rpc_port ${rpc_ports[$i]} -ws_port ${ws_ports[$i]} >>../logs/${msg_gateway_name}.$(date +%Y-%m-%d).log 2>&1 &
|
nohup ./${msg_gateway_name} -rpc_port ${rpc_ports[$i]} -ws_port ${ws_ports[$i]} >>../logs/${msg_gateway_name}.$(date +%Y-%m-%d).log 2>&1 &
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user