* use '--preload-app' to start starman

This commit is contained in:
Erik Huelsmann 2017-05-25 16:07:38 +02:00
parent 728840ce4c
commit e5c6072505

View File

@ -35,4 +35,7 @@ done ;
echo "Selected PERL5LIB=$PERL5LIB";
# start ledgersmb
exec starman --port 5762 tools/starman.psgi
# --preload-app allows application initialization to kill the entire
# starman instance (instead of just the worker, which will immediately
# get restarted); it also has a positive effect on memory use
exec starman --port 5762 --preload-app tools/starman.psgi