Product:TIBCO Spotfire Service for Python
Versions:All
Summary:
TIBCO Spotfire Service for Python (Python Service) runs on JVM processes. Large java core dump files could be generated in the temp folder for Python Service, when JVM process crashes or is not responding. This article describes how to disable the generation of these dump files.
Details:
Large java core dump files ( xxx.mdmp) generated by the Python Service when the JVM process crashes or is not responding can use up a lot of hard disk space / resources in the Node Manager server where Python Service is hosted. This might strain the Node Manager server for Python Service.
Those JVM core dump files can be manually deleted on a regular basis, or completely disabled by configuring the Python Service.
Resolution:
To disable the creation of core dumps for the Python Service, do the following
----
1. Add the following option to the configuration (custom.properties) for the Python Service:
javaOptions:-XX:-CreateCoredumpOnCrash
For more details on how to configure the Python Service, please refer to
https://docs.tibco.com/pub/sf-pysrv/1.3.6/doc/html/TIB_sf-pysrv_1.3.6_install/install/topics/configuring_spotfire_service_for_python.html
2. Restart the Python Service to make this change take effect.
----
Starting from Python Service version 1.3.0 (June 2021), the Python Service has JVM core dump file creation disabled by default with the configuration property "disable.java.core.dump" being TRUE by default
See "Manage Java Options" section in this document:
https://docs.tibco.com/pub/sf-pysrv/1.11.1/doc/html/TIB_sf-pysrv_install/pyinstall/topics/manage_java_options.html
"disable.java.core.dump: TRUE" is equivalent to setting "javaOptions:-XX:-CreateCoredumpOnCrash" in the configuration file for Python Service.
Versions:All
Summary:
TIBCO Spotfire Service for Python (Python Service) runs on JVM processes. Large java core dump files could be generated in the temp folder for Python Service, when JVM process crashes or is not responding. This article describes how to disable the generation of these dump files.
Details:
Large java core dump files ( xxx.mdmp) generated by the Python Service when the JVM process crashes or is not responding can use up a lot of hard disk space / resources in the Node Manager server where Python Service is hosted. This might strain the Node Manager server for Python Service.
Those JVM core dump files can be manually deleted on a regular basis, or completely disabled by configuring the Python Service.
Resolution:
To disable the creation of core dumps for the Python Service, do the following
----
1. Add the following option to the configuration (custom.properties) for the Python Service:
javaOptions:-XX:-CreateCoredumpOnCrash
For more details on how to configure the Python Service, please refer to
https://docs.tibco.com/pub/sf-pysrv/1.3.6/doc/html/TIB_sf-pysrv_1.3.6_install/install/topics/configuring_spotfire_service_for_python.html
2. Restart the Python Service to make this change take effect.
----
Starting from Python Service version 1.3.0 (June 2021), the Python Service has JVM core dump file creation disabled by default with the configuration property "disable.java.core.dump" being TRUE by default
See "Manage Java Options" section in this document:
https://docs.tibco.com/pub/sf-pysrv/1.11.1/doc/html/TIB_sf-pysrv_install/pyinstall/topics/manage_java_options.html
"disable.java.core.dump: TRUE" is equivalent to setting "javaOptions:-XX:-CreateCoredumpOnCrash" in the configuration file for Python Service.