File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed
Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ Group=mapsmessaging
1717LimitNOFILE =65535
1818TimeoutStartSec =15s
1919TimeoutStopSec =10s
20+ TasksMax =8192
2021
2122[Install]
2223WantedBy =multi-user.target
Original file line number Diff line number Diff line change @@ -55,7 +55,8 @@ set "CLASSPATH=%MAPS_CONF%;%MAPS_LIB%\maps-%VERSION%.jar;%MAPS_LIB%\*"
5555
5656:loop
5757:: Now start the daemon
58- java -classpath %CLASSPATH% %JAVA_OPTS% ^
58+ java -Xss256k ^
59+ -classpath %CLASSPATH% %JAVA_OPTS% ^
5960 -DUSE_UUID=false ^
6061 -DConsulUrl=" %CONSUL_URL% " ^
6162 -DConsulPath=" %CONSUL_PATH% " ^
Original file line number Diff line number Diff line change @@ -71,7 +71,8 @@ export LD_LIBRARY_PATH=$MAPS_LIB:$LD_LIBRARY_PATH
7171# Loop to restart server on specific exit code
7272#
7373while true ; do
74- java -classpath $CLASSPATH $JAVA_OPTS \
74+ java -Xss256k \
75+ -classpath $CLASSPATH $JAVA_OPTS \
7576 -DUSE_UUID=false \
7677 -DConsulUrl=" ${CONSUL_URL} " \
7778 -DConsulPath=" ${CONSUL_PATH} " \
Original file line number Diff line number Diff line change 6363
6464#
6565# Now start the the daemon
66- java -classpath $CLASSPATH $JAVA_OPTS \
66+ java -Xss256k \
67+ -classpath $CLASSPATH $JAVA_OPTS \
6768 -DUSE_UUID=false \
6869 -DConsulUrl=" ${CONSUL_URL} " \
6970 -DConsulPath=" ${CONSUL_PATH} " \
You can’t perform that action at this time.
0 commit comments