1 Reply Latest reply: Mar 21, 2014 5:58 AM by Sharmela-Oracle RSS

    TMP file not found crashed the server

    Jcgo-Oracle

      Hi All,

       

      Our server crashed this morning and a log review sees:

       

      maxSize=37748736]

      [WARN ][jfr    ] java.io.FileNotFoundException:/tmp/2014_03_20_09_22_32_14912/2014_03_20_10_28_03_14912.jfr (No such file or directory)

      [WARN ][jfr    ]    java.io.FileInputStream.open(Native Method)

      [WARN ][jfr    ]    java.io.FileInputStream.<init>(FileInputStream.java:120)

      [WARN ][jfr    ]    oracle.jrockit.jfr.RepositoryChunk.newInputStream(RepositoryChunk.java:208)

      [WARN ][jfr    ]    oracle.jrockit.jfr.ChunksChannel.nextChannel(ChunksChannel.java:44)

      [WARN ][jfr    ]    oracle.jrockit.jfr.ChunksChannel.transferTo(ChunksChannel.java:89)

      [WARN ][jfr    ]    oracle.jrockit.jfr.Recording.copyTo(Recording.java:444)

      [WARN ][jfr    ]    oracle.jrockit.jfr.Recording.stop(Recording.java:413)

      [WARN ][jfr    ]    oracle.jrockit.jfr.JFRImpl.release(JFRImpl.java:671)

      [WARN ][jfr    ]    oracle.jrockit.jfr.JFRImpl.destroy(JFRImpl.java:707)

      [WARN ][jfr    ]    oracle.jrockit.jfr.JFRImpl$1.run(JFRImpl.java:122)

      [WARN ][jfr    ]    java.lang.Thread.run(Thread.java:662)

      <Mar 20, 2014 10:50:40 AM PDT>

       

       

      **************

       

      any input on this?  And, is it possible to redirect startup server process to another directory?

        • 1. Re: TMP file not found crashed the server
          Sharmela-Oracle

          Hi,

           

          Looks like the tmp directory is getting filled with the JRockit recordings.

          The way to fix this is to make sure that you generate a reasonable amount of JFR data. We can also move the repository to another location if you want

           

           

          -XX:FlightRecorderOptions=repository=/path/to/somewhere/else

           

          Thanks,

          Sharmela

          NOTE: Please mark the answer as Correct if it helps