Navigation

    Best APM Solution for Oracle WebLogic Server & FMW Product Family
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Download

    WLSDM - TEMP Redirect JFR File

    General Support & Troubleshooting
    oracle java weblogic wlsdm
    2
    2
    582
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • wlcommunityusers
      wlcommunityusers last edited by

      Hi,

      We ran into the following error.

      A 1.5-2 GB jfr file is created in the $WEBLOGIC_HOME\WLSDM\temp\JFR directory.
      With an old date, not rotating but WLSDM is constantly loading the library.

      It was restarted but continues to load the directory in the same way.
      For multiple daily libraries, the temp can be as high as 8-10GB.

      Is it possible to redirect the full /temp directory with some WLSDM parameter to create logs elsewhere?
      Or should it be solved at the linux level with a symbol link?

      Regards.

      Community Users Case Notes (Diary)

      1 Reply Last reply Reply Quote 0
      • wlsdmsupport
        WLSDM Support last edited by

        Hi,

        You can change the JFR repository directory using the following JVM option:
        WLSDM must delete those temp files which is older than two days (48 hours).

        -XX:FlightRecorderOptions=repository=WLSDM/temp/JFR ( see: https://wlsdm.com/docs/#VI.Installation )

        If you choose not to define (or remove) this JVM option, by default the files will be stored under the operating system temporary directory.

        For more information see: https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html
        repository.png

        Also, jfr files are static profiling files, not library files. You can delete them safely even runtime.


        For the second question: You can achieve that using the “Downtime” feature:

        1 – Go to WLSDM console / “Monitoring & Diagnostics” page.

        schedule.png

        2 – Open the page operations and click the “New Scheduled Job / Downtime”
        newschedule.png

        3 – Configure the downtime and click save.

        At this point, you have two action option:
        1 – Stop all notifications but keep monitoring
        2 – Stop all monitoring

        action.png


        scheduletime.png

        Regards.

        WLSDM Community Support Team

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        WLSDM: Native WebLogic Monitoring & Diagnostics

        Copyright © 2021 WLSDM Community & Support Portal | WLSDM.COM | WLSDM Blog