From ebb6eab5d98b02c709454f444f91f90729df217f Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Fri, 16 May 2014 09:31:12 -0700 Subject: [PATCH] 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 --- templates/upstart.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/upstart.erb b/templates/upstart.erb index 9610779..f50cd91 100644 --- a/templates/upstart.erb +++ b/templates/upstart.erb @@ -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