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