mirror of
https://github.com/wekan/wekan.git
synced 2025-04-18 19:24:50 -04:00
Revert adding more stack size.
Thanks to xet7 !
This commit is contained in:
parent
cfca28e25a
commit
edb7398295
6 changed files with 12 additions and 6 deletions
|
@ -272,4 +272,5 @@ WORKDIR /home/wekan/app
|
|||
#
|
||||
# CMD ["node", "/build/main.js"]
|
||||
# CMD ["bash", "-c", "ulimit -s 65500; exec node --stack-size=65500 /build/main.js"]
|
||||
CMD ["bash", "-c", "ulimit -s 65500; exec node --stack-size=65500 --max-old-space-size=8192 /build/main.js"]
|
||||
# CMD ["bash", "-c", "ulimit -s 65500; exec node --stack-size=65500 --max-old-space-size=8192 /build/main.js"]
|
||||
CMD ["bash", "-c", "ulimit -s 65500; exec node /build/main.js"]
|
||||
|
|
|
@ -88,5 +88,6 @@ RUN \
|
|||
EXPOSE $PORT
|
||||
USER wekan
|
||||
|
||||
CMD ["bash", "-c", "ulimit -s 65500; exec node --stack-size=65500 --max-old-space-size=8192 /home/wekan/bundle/main.js"]
|
||||
# CMD ["bash", "-c", "ulimit -s 65500; exec node --stack-size=65500 --max-old-space-size=8192 /home/wekan/bundle/main.js"]
|
||||
CMD ["bash", "-c", "ulimit -s 65500; exec node /home/wekan/bundle/main.js"]
|
||||
|
||||
|
|
|
@ -411,6 +411,7 @@
|
|||
#export WAIT_SPINNER=Bounce
|
||||
#---------------------------------------------------------------------
|
||||
|
||||
node --stack-size=65500 --max-old-space-size=8192 main.js & >> ~/repos/wekan.log
|
||||
# node --stack-size=65500 --max-old-space-size=8192 main.js & >> ~/repos/wekan.log
|
||||
node main.js & >> ~/repos/wekan.log
|
||||
cd ~/repos
|
||||
#done
|
||||
|
|
|
@ -36,4 +36,5 @@ cd $APPLICATION_DIRECTORY
|
|||
# bash -c "ulimit -s 65500; exec node --stack-size=65500 main.js"
|
||||
#---------------------------------------------------------------------
|
||||
#bash -c "ulimit -s 65500; exec $NODE_PATH/node --stack-size=65500 $APPLICATION_START"
|
||||
bash -c "ulimit -s 65500; exec $NODE_PATH/node --stack-size=65500 --max-old-space-size=8192 $APPLICATION_START"
|
||||
#bash -c "ulimit -s 65500; exec $NODE_PATH/node --stack-size=65500 --max-old-space-size=8192 $APPLICATION_START"
|
||||
bash -c "ulimit -s 65500; exec $NODE_PATH/node $APPLICATION_START"
|
||||
|
|
|
@ -23,6 +23,7 @@ echo "starting the wekan service..."
|
|||
#export NODE_OPTIONS="--max_old_space_size=4096"
|
||||
# Add more stack:
|
||||
#bash -c "ulimit -s 65500; exec node --stack-size=65500 main.js"
|
||||
bash -c "ulimit -s 65500; exec --stack-size=65500 --max-old-space-size=8192 node main.js"
|
||||
#bash -c "ulimit -s 65500; exec --stack-size=65500 --max-old-space-size=8192 node main.js"
|
||||
bash -c "ulimit -s 65500; exec node main.js"
|
||||
#---------------------------------------------------------------------
|
||||
#node main.js
|
||||
|
|
|
@ -555,7 +555,8 @@
|
|||
#bash -c "ulimit -s 65500; exec node --stack-size=65500 --trace-deprecation main.js"
|
||||
#bash -c "ulimit -s 65500; exec node --stack-size=65500 main.js"
|
||||
#-------------------- OPTIONAL SETTINGS END ----------------------
|
||||
bash -c "ulimit -s 65500; exec node --stack-size=65500 --max-old-space-size=8192 main.js"
|
||||
#bash -c "ulimit -s 65500; exec node --stack-size=65500 --max-old-space-size=8192 main.js"
|
||||
bash -c "ulimit -s 65500; exec node main.js"
|
||||
#node main.js
|
||||
#---------------------------------------------------------------------
|
||||
# & >> ../../wekan.log
|
||||
|
|
Loading…
Add table
Reference in a new issue