64 Bit machine running 6 GB of RAM or More :-
# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=2048
64 Bit machine running 8 GB of RAM or More :-
# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=4096
64 Bit machine running 16 GB of RAM or More :-
# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=8192
3. Open a command prompt as Administrator and navigate to <NetFlow\bin> directory and execute the following batch files one after the other
na_service.bat -r
na_service.bat -i
4. Open the file "run.bat" present under the NetFlow_Home/bin/ directory in a text editor. Find the following lines in the run.bat file
32 Bit Machine with 3 GB of RAM or more:
# Setup JBoss sepecific properties
JAVA_OPTS="$JAVA_OPTS -Xms128m -Xmx512m
Please change the "-Xmx512m" to -Xmx1024m.
64 Bit Machine with 6 GB of RAM or more:
Please change the "-Xmx512m" to -Xmx2048m.
64 Bit Machine with 8 GB of RAM or more:
Please change the "-Xmx512m" to -Xmx4096m.
64 Bit Machine with 16 GB of RAM or more:
Please change the "-Xmx512m" to -Xmx8192m.
Save the run.bat file
5. Start NetFlow Analyzer
Java Tuning for Linux:
Please follow these steps in case your machine is running with RAM of 3 GB or more.
1. Shutdown NetFlow Analyzer.
2. Open the file "wrapper.conf" present under the <NETFLOW_HOME>/conf/ directory in a text editor. Find the following line in the file
# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=256
Please change the value of "wrapper.java.maxmemory" from 256 to 1024.
Modified line will look like as the following.
# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=1024
64 Bit machine running 6 GB of RAM or More :-
# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=2048
64 Bit machine running 8 GB of RAM or More :-
# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=4096
64 Bit machine running 16 GB of RAM or More :-
# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=8192
Please save the wrapper.conf file.
3. Open the run.sh file present under the "<NetFlow_HOME>/bin" directory in a editor. Find the following line
# Setup JBoss sepecific properties
JAVA_OPTS="$JAVA_OPTS -Xms128m -Xmx512m -Dprogram.name=$PROGNAME -Djboss.server.type=com.adventnet.j2ee.deployment.system.A
dventNetServerImpl -Djboss.deploy.localcopy=true -Djboss.boot.library.list=log4j-boot.jar,jboss-common.jar,jboss-system.jar
,AdventNetDeploymentSystem.jar,commons-logging.jar"
Please change the "-Xmx512m" to -Xmx1024m.
64 Bit Machine with 6 GB of RAM or more:
Please change the "-Xmx512m" to -Xmx2048m.
64 Bit Machine with 8 GB of RAM or more:
Please change the "-Xmx512m" to -Xmx4096m.
64 Bit Machine with 16 GB of RAM or more:
Please change the "-Xmx512m" to -Xmx8192m.
64 Bit Machine Postgres Tuning:#$Id$
port = 13310
shared_buffers = 128MB
work_mem = 24MB
maintenance_work_mem = 200MB
checkpoint_segments = 15
checkpoint_timeout = 11min
checkpoint_completion_target = 0.9
seq_page_cost = 1.0
random_page_cost = 2.0
effective_cache_size = 1024MB
synchronous_commit=off
For a 64 machine running with 8 GB of RAM or more, you can set these to#$Id$
port = 13310
shared_buffers = 256MB
work_mem = 48MB
maintenance_work_mem = 400MB
checkpoint_segments = 15
checkpoint_timeout = 11min
checkpoint_completion_target = 0.9
seq_page_cost = 1.0
random_page_cost = 2.0
effective_cache_size = 2048MB
synchronous_commit=off
For a 64 machine running with 16 GB of RAM or more, you can set these to
#$Id$
port = 13310
shared_buffers = 384MB
work_mem = 60MB
maintenance_work_mem = 600MB
checkpoint_segments = 15
checkpoint_timeout = 11min
checkpoint_completion_target = 0.9
seq_page_cost = 1.0
random_page_cost = 2.0
effective_cache_size = 3072MB
synchronous_commit=off
#$Id$
port = 13310
shared_buffers = 512MB
work_mem = 72MB
maintenance_work_mem = 800MB
checkpoint_segments = 15
checkpoint_timeout = 11min
checkpoint_completion_target = 0.9
seq_page_cost = 1.0
random_page_cost = 2.0
effective_cache_size = 4096MB
synchronous_commit=off