Uploaded image for project: 'Nuxeo Enhanced Viewer'
  1. Nuxeo Enhanced Viewer
  2. NEV-381

Broker and renderer are crashing and restart at the same time

    XMLWordPrintable

    Details

    • Release Notes Description:
      Hide

      A new configuration property has been added to the Document Renderer service, it allows to control the cache duration of the converted blob: DRN_DOCUMENT_RENDERER_CACHE.DURATION.

      Its default value is 5.

      Show
      A new configuration property has been added to the Document Renderer service, it allows to control the cache duration of the converted blob: DRN_DOCUMENT_RENDERER_CACHE.DURATION . Its default value is 5 .
    • Upgrade notes:
      Hide

      The cache duration of the converted blobs was previously 120 seconds, it has been reduced to 5 seconds to fix some issues.

      It is now possible to control it with DRN_DOCUMENT_RENDERER_CACHE.DURATION environment property.

      Show
      The cache duration of the converted blobs was previously 120 seconds, it has been reduced to 5 seconds to fix some issues. It is now possible to control it with DRN_DOCUMENT_RENDERER_CACHE.DURATION environment property.

      Description

      We had production issue on the 1st of Feb 2021 where the broker and the renderer are crashing and restarting at the same time.

      And there are some error messages in the logs, like:

      JNI - 2021-02-01 17:37:19,609 INFO [Thread-305] c.a.a.m.s.r.JNIPdfDocument [JNIPdfDocument.java:91] Parsing of Document id=b64_ZG9jdW1lbnRJZD1kZWZhdWx0LDAwMWU0NTIwLWVjMjQtNDgxNi1iNWQ3LWYzMTg2YWZjNjlkYyxmaWxlOmNvbnRlbnQsYjNmODIwNGRhMmE0ZDBmMTVmNjkwZjRkY2Y4MjRkOWQ= done in 65ms
      JNI - 2021-02-01 17:37:19,616 INFO [Thread-305] c.a.a.m.s.r.JNIPdfDocument [JNIPdfDocument.java:340] Cleaning up file named : /arender/modules/document-renderer/../../tmp/jni-temporary-document-16312852992070654327.pdf
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      #  SIGSEGV (0xb) at pc=0x00007f6e3d1183f7, pid=1, tid=114
      #
      # JRE version: OpenJDK Runtime Environment (13.0.2+8) (build 13.0.2+8)
      # Java VM: OpenJDK 64-Bit Server VM (13.0.2+8, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
      # Problematic frame:
      # C  [libjnipdfrenderer-1.17-0-ocg.so+0xdd3f7]  fz_free+0x17
      #
      # Core dump will be written. Default location: /arender/modules/document-renderer/core.1
      #
      # An error report file with more information is saved as:
      # /arender/modules/document-renderer/hs_err_pid1.log
      #
      # If you would like to submit a bug report, please visit:  
      {{[https://github.com/AdoptOpenJDK/openjdk-support/issues]}}
       
      # The crash happened outside the Java Virtual Machine in native code.
      # See problematic frame for where to report the bug.
      #[error occurred during error reporting (), id 0xb, SIGSEGV (0xb) at pc=0x00007f6eca0e360f]
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: