spectrumgtw probe using near 99% of the CPU

Document ID : KB000113126
Last Modified Date : 05/09/2018
Show Technical Document Details
Issue:
Sometimes, users will see the spectrumgtw probe use between 80% - 90% of the CPU. Often this will only occur during the first few hours of the probe's operation after a restart - after sometime, the usage will go down.
Environment:
This information is generally applicable to most versions of UIM and spectrumgtw.
Cause:
When the probe is first enabled, it executes a synchronization process related to inventory discovery. This can be a high usage process, particularly in large environments.
Resolution:
To help alleviate this, the memory allocated to the probe needs to be increased.
Open the raw configuration of the probe and check the 'startup' section to see what is currently configured.

By default, the probe is set to:
-Xms32m -Xmx1536m -Duser.language=en -Duser.country=US

Depending on the size of the environment, the general recommendation is to raise this between 4gb to 6gb.
Here is what the entry would look like for each:

4gb
-Xms32m -Xmx4096m -Duser.language=en -Duser.country=US

6gb
-Xms32m -Xmx6144m -Duser.language=en -Duser.country=US
...

This has been proven to help the probe through the synchronization process and keep the CPU usage at more reasonable levels.
Additional Information:
Other spectrumgtw troubleshooting tips and known issues.