[MAGNOLIA-6358] JVM crashes when publishing many files (Windows 8.1, JDK 1.8) Created: 26/Aug/15 Updated: 17/Mar/21 Resolved: 17/Mar/21 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 5.4.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Mathias Conradt | Assignee: | Unassigned |
| Resolution: | Obsolete | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows 8.1, Windows 8.1, Java 1.8.0_51, Intel i7-4710MQ CPU @ 2.50GHz, 2.50 GHz, 16 GB RAM |
||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Date of First Response: |
| 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. |
| Comments |
| Comment by Jan Haderka [ 17/Mar/21 ] |
|
Magnolia 5.4 is EOL and so is Windows 8.1. Issue wasn't seen/replicated/reported against newer and still supported versions of either system. |