Difference between revisions of "Flow/Installation/Linux/Startup Settings"
Kevin Wilkie (Talk | contribs) (Created page with "You can edit the /opt/ros/resources/start file to control some startup parameters. By default the file should have /opt/java/bin/java -Xms364M -Xmx768M -Djava.net.preferIP...") |
Kevin Wilkie (Talk | contribs) |
||
Line 21: | Line 21: | ||
To | To | ||
/opt/java/bin/java -Xms364M -Xmx768M -Djava.net.preferIPv4Stack=true -Djava.library.path=./dist/libs/ -Djava.awt.headless=true -XX:+HeapDumpOnOutOfMemoryError -classpath ./dist/ROS.jar:./dist/libs/* ros.ROS httpport=7903 httpsport=8903 &> ./console.log & | /opt/java/bin/java -Xms364M -Xmx768M -Djava.net.preferIPv4Stack=true -Djava.library.path=./dist/libs/ -Djava.awt.headless=true -XX:+HeapDumpOnOutOfMemoryError -classpath ./dist/ROS.jar:./dist/libs/* ros.ROS httpport=7903 httpsport=8903 &> ./console.log & | ||
+ | Will cause anuview Flow to listen on port 7903 for HTTP connections and 8903 for HTTPS connections |
Revision as of 11:12, 20 October 2016
You can edit the /opt/ros/resources/start file to control some startup parameters. By default the file should have
/opt/java/bin/java -Xms364M -Xmx768M -Djava.net.preferIPv4Stack=true -Djava.library.path=./dist/libs/ -Djava.awt.headless=true -XX:+HeapDumpOnOutOfMemoryError -classpath ./dist/ROS.jar:./dist/libs/* ros.ROS &> ./console.log & echo $! > ros.pid
You can change the following -Xms, sets the default startup memory that java can use. -Xmx, sets the default maximum amount of memory that java can use.
You can also add the following parameters after the ros.ROS params
httpport=7902, change the 7902 to whatever port you want to run the http server on httpsport=8902, change the 8902 to whatever port you want to run the https server on createindex=true, will enable indexing for all netflow tables (significantly impacting disk IO requirements but improving query performance.
i.e.
Changing
/opt/java/bin/java -Xms364M -Xmx768M -Djava.net.preferIPv4Stack=true -Djava.library.path=./dist/libs/ -Djava.awt.headless=true -XX:+HeapDumpOnOutOfMemoryError -classpath ./dist/ROS.jar:./dist/libs/* ros.ROS &> ./console.log &
To
/opt/java/bin/java -Xms364M -Xmx768M -Djava.net.preferIPv4Stack=true -Djava.library.path=./dist/libs/ -Djava.awt.headless=true -XX:+HeapDumpOnOutOfMemoryError -classpath ./dist/ROS.jar:./dist/libs/* ros.ROS httpport=7903 httpsport=8903 &> ./console.log &
Will cause anuview Flow to listen on port 7903 for HTTP connections and 8903 for HTTPS connections