How to redirect the JFR writing to WLSDM folder itself ?
-
Hello,
After the demo, I faced a strange issue.
The WLSDM is writing JFR files in /tmp folder of the VM – which ran out of space and crashed the Managed server.
Here is from the log:
[jfr][WARN ][59792.204] Please check if repository location /tmp/2017_06_01_22_02_54_22776 has been moved/deleted? [jfr][ERROR][59792.263] An irrecoverable error in JRF. Shutting down VM...
Can you suggest how to redirect the JFR writing to WLSDM folder itself and not VM’s /tmp folder? Or am I missed anything on the configuration?
Thanks,
-
Hi,
We are not generating JFR files under /tmp folder. WebLogic does this and we’re using the output. So, if you want to redirect to custom folder please use below settings and let us know the result.
Navigate to Enviroment > Server > Server Start. In “Arguments”, add:
-XX:FlightRecorderOptions=repository=/path/to/folder Example: -XX:FlightRecorderOptions=repository=/data/weblogic/domains/BASE_DOMAIN/WLSDM/tmp