Permalink
Browse files

Update defaults for ej command to pass -Derj.threads=50 (each active …

…spawn port command needs 2 threads for i/o).
  • Loading branch information...
krestenkrab committed Sep 16, 2010
1 parent 9034c47 commit 4c0691317eab94404f964f67eb8df9e11482ae1a
Showing with 5 additions and 2 deletions.
  1. +5 −2 ej
View
7 ej
@@ -9,9 +9,12 @@ EJC_DIR=`dirname "$EJC_CMD"`
source $EJC_DIR/env_cfg
-exec java -server -da \
- -Derj.threads=1 \
+## -Derjang.debug.port=true
+
+exec java \
+ -Derj.threads=50 \
-Xmx1g -Xss1m \
+ -XX:PermSize=128m \
-jar $EJC_DIR/erjang-0.1.jar \
-home $HOME \
-root $ERL_ROOT \

0 comments on commit 4c06913

Please sign in to comment.