Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6358

JVM crashes when publishing many files (Windows 8.1, JDK 1.8)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Minor
    • None
    • 5.4.1
    • None
    • None
    • Windows 8.1, Windows 8.1, Java 1.8.0_51, Intel i7-4710MQ CPU @ 2.50GHz, 2.50 GHz, 16 GB RAM

    Description

      Sometimes when publishing a folder with only around 25 subpages in Magnolia 5.4.1 (Standard installation with bundled Tomcat; no special configuration done to it), the JVM sometimes crashes and I see the following in the log:

              at java.lang.Thread.run(Thread.java:745)
      2015-08-26 09:02:19,684 WARN  org.apache.jackrabbit.core.SessionImpl
      : Unclosed session detected. The session was opened here:
      java.lang.Exception: Stack Trace
              at org.apache.jackrabbit.core.SessionImpl.<init>(SessionImpl.java:222)
              at org.apache.jackrabbit.core.SessionImpl.<init>(SessionImpl.java:239)
              at org.apache.jackrabbit.core.XASessionImpl.<init>(XASessionImpl.java:10
      1)
              at org.apache.jackrabbit.core.RepositoryImpl.createSessionInstance(Repos
      itoryImpl.java:1613)
              at org.apache.jackrabbit.core.RepositoryImpl.createSession(RepositoryImp
      l.java:956)
              at org.apache.jackrabbit.core.RepositoryImpl.login(RepositoryImpl.java:1
      501)
              at org.apache.jackrabbit.core.jndi.BindableRepository.login(BindableRepo
      sitory.java:162)
              at info.magnolia.jackrabbit.ProviderImpl.getSystemSession(ProviderImpl.j
      ava:501)
              at info.magnolia.repository.DefaultRepositoryManager.getSystemSession(De
      faultRepositoryManager.java:298)
              at info.magnolia.context.SystemRepositoryStrategy.internalGetSession(Sys
      temRepositoryStrategy.java:54)
              at info.magnolia.context.AbstractRepositoryStrategy.getSession(AbstractR
      epositoryStrategy.java:75)
              at info.magnolia.context.AbstractContext.getJCRSession(AbstractContext.j
      ava:132)
              at info.magnolia.resourceloader.jcr.JcrResourceOrigin.getJcrSession(JcrR
      esourceOrigin.java:258)
              at info.magnolia.resourceloader.jcr.JcrResourceOrigin.getNode(JcrResourc
      eOrigin.java:247)
              at info.magnolia.resourceloader.jcr.JcrResourceOrigin.access$300(JcrReso
      urceOrigin.java:87)
              at info.magnolia.resourceloader.jcr.JcrResourceOrigin$1.onEvent(JcrResou
      rceOrigin.java:322)
              at info.magnolia.cms.util.ObservationUtil$ObservationBasedDelayedExecuto
      r$1.run(ObservationUtil.java:253)
              at info.magnolia.cms.util.DelayedExecutor$RunnableWrapper.run(DelayedExe
      cutor.java:103)
              at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(Unknown Sour
      ce)
              at java.lang.Thread.run(Thread.java:745)
      

      After restarting Magnolia/Tomcat, I can publish again (or sometimes even though the JVM crashed, most pages have actually been published), everything works fine again for a while.

      Note: above error message comes pretty much always when I publish a page, but not always does the JVM crash, just sometimes - usually when publishing a couple more pages at once.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              mathiaslin Mathias Conradt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD