Double the node stack size for etherpad lite

Node was running into stack size limit errors at the Atlanta Juno
Summit. The default value for the stack size limit is 984 kBytes double
this value to 1968 kBytes to hopefully make etherpad-lite more stable.

Change-Id: Ib644e68689e9f6b1e00cb959ff7cf4e5dc553cf6
This commit is contained in:
Clark Boylan 2014-05-16 09:31:12 -07:00
parent 012ad84af6
commit ebb6eab5d9
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ end script
script
cd $EPHOME
exec su -s /bin/sh -c 'exec "$0" "$@"' $EPUSER -- /usr/local/bin/node node_modules/ep_etherpad-lite/node/server.js \
exec su -s /bin/sh -c 'exec "$0" "$@"' $EPUSER -- /usr/local/bin/node --stack_size=1968 node_modules/ep_etherpad-lite/node/server.js \
>> $EPLOGS/access.log \
2>> $EPLOGS/error.log
end script