Application Perf Mgmt (BAC / BSM) Practitioners Forum
Showing results for 
Search instead for 
Do you mean 

SIS Support TIP: Increase Java HeapSize in SiteScope in Linux environments

HPE Expert

SIS Support TIP: Increase Java HeapSize in SiteScope in Linux environments



Normally when you install SiteScope for first time (clean instalation) by default you have assigned 512m of ram to SiteScope. That happens with Windows and with Linux. Unfortunately for Linux environements the config_tool do not have the option to increase the Java Heap Size automaticaly.


Please keep in mind this table for how much memory you can assigne to your SiteScope according the specs of your server and the sitescope version:


SiteScope 10.x 32 bits --> 60% physical memory

SiteScope 11.x 32 bits --> 60% physical memory

SiteScope 11.x 64 bits --> 60% physical memory


Then one of the ways to increase the memory are modifying a few numbers on the Startup of SiteScope Service.

SiteScope in linux is divided in 2 parts, the service, and the monitors. When you run in a terminal ./start you're running actually a 2 more files:

start-service - who keeps alive the service when sitescope restarts.

start-monitors - is sitescope himself.


start-service process do not need a lot of memory because his primary function is to check if start-monitors process is alive, and if it's not alive, start it. In other words, when you restart sitescope, what are you doing is killing start-monitor process, then sitescope-service, notice this service is stop and run it again.


start-monitor process is the sitescope himself.


that means, if we like to increase the memory java heap size, we must modify start-monitor and assigne more memory on it.


the steps to increase the memory are:

1- Stop SiteScope Service (using /opt/HP/SiteScope/stop)

2- edit the file /opt/HP/SiteScope/bin/start-monitor

3- search for the line:


exec ../java/bin/SiteScope -server -Xmx512m -Xms512m -Xmn160m -Xss256k -XX:MaxPermSize=240m -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:-DoEscapeAnalysis -showversion -Dnetworkaddress.cache.ttl=86400 -Dnetworkaddress.cache.negative.ttl=0...


Note: All sentence must to be on the same line. For that is HIGH recommended before to modify anything from this line is do a copy of the file in /tmp/ for example.


and modify -Xmx512m for -Xmx1024m (with this we increase to 1gb the memory assigned, if we like 2gb -Xmx2048m)


the sentence must to look like this:


exec ../java/bin/SiteScope -server -Xmx1024m -Xms512m -Xmn160m -Xss256k -XX:MaxPermSize=240m -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:-DoEscapeAnalysis -showversion -Dnetworkaddress.cache.ttl=86400 -Dnetworkaddress.cache.negative.ttl=0...


4- Save the file and quit from the editor

5- Start Sitescope


Note: if the sentence is not correct, SiteScope will not startup.


Please take a look into the attach doc file.

"HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution."