Product: TIBCO Spotfire®
High CPU usage on TIBCO Spotfire Statistics Services (TSSS) with Open Source R engine due to old rJava package version
If your TIBCO Spotfire Statistics Services (TSSS) server is configured to use the Open Source R engine, if you see that the CPU usage for TSSS sub-processes are constantly high for the Open Source R engine, then one of the reason can be that an old rJava package is being used by the Open Source R engine.
One of the common reason why there may be an old rJava version could be that, during regular upgrades of the Open Source R engine over the past years, the existing rJava package was continually copied to the new installation, which now may not be compatible with the later Open Source R and Java versions being used. Installing latest available rJava package version should help to get CPU usage back to normal.
It is always recommended to use the latest available rJava package. Installing from Open Source R console using the following command will install the latest version of this package from the CRAN repository:
install.packages(“rJava”)To install through this command, the TSSS machine must have internet connectivity. Doc: Configuring an open-source R engine