Confluence 7.17.1 crashes by transaction PluginReadWriteTx
Asked by w_v_krimpen_slootweg:

Server runs out of memory (Java VM heap) and freezes. In logging found:

WARN: \[Caesium-1-2\] \[confluence.impl.hibernate.ConfluenceHibernateTransactionManager\] doRollback Performing rollback. Transactions: -\>\[PluginReadWriteTX\]: PROPAGATION-REQUIRED,ISOLATION_DEFAULT (session #561381725)

ERROR: \[Caesium-1-2\] \[impl.schedule.caesium.JobRunnerWrapper\] runJob Scheduled job com.atlassian.confluence.plugins.confluence-edge-index:flushEdgeIndexQueueJob#flushEdgeIndexQueue failed to run com.atlassian.bonnie.LuceneException: org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only


Answers:
author: Ilkka Kiiskinen
body: We have the same issue with multiple different instances with different users and add-ons. We have both docker and linux binary installations. Issues started when upgraded to 7.17.x versions.

We have an open issue to Atlassian support. Please open a support ticket to Atlassian to get more attention to this and to get support more data to find the root cause. Prepare your system to take java heap dumps.

We have already increased heap memory, but that seems not to be the solution.

Logs led us to this KB article: <https://confluence.atlassian.com/confkb/confluence-logs-filled-with-the-error-failed-to-process-edge-index-task-838403476.html>

We followed the instructions and rebuilt the content index from scratch including the optional step to restore popular content. <https://confluence.atlassian.com/confkb/how-to-rebuild-the-content-indexes-from-scratch-on-confluence-server-110035351.html>

Edge index errors stayed away only for awhile, so even this does not really fix the issue.

<br />

I hope we get some fix to this soon from Atlassian.


author: Robin Peters
body: We now have the same problem with 7.17.4. Started suddenly today and still occurs and crashing our instance. I will raise support ticket for this asap.

Some of you found a solution so far?

comments: author: Robin Peters
body: Was just necessary to build index from scratch:

[How to Rebuild the Content Indexes From Scratch on Confluence Server \| Confluence \| Atlassian Documentation](https://confluence.atlassian.com/confkb/how-to-rebuild-the-content-indexes-from-scratch-on-confluence-server-110035351.html)

This is the regarding bug issue: [\[CONFSERVER-69488\] OutOfMemory when upgrading or running reindex - Create and track feature requests for Atlassian products.](https://jira.atlassian.com/browse/CONFSERVER-69488)


author: Ilkka Kiiskinen
body: At least in our case, this was not a permanent fix. Happened again after some time.


author: Siva Krishna Bhusarapu
body: We as well running into similar kind of issue with 7.17.2 and we have a open ticket with atlassian.


author: Tommy van Extel
body: Hi Siva, did you get a fix / answer from Atlassian?


author: Siva Krishna Bhusarapu
body: Hi Tommy, They are aware of the issue and they are working on fix but didn't provide any ETA. <https://jira.atlassian.com/browse/CONFSERVER-79529> suggested to do Rebuild index from scratch but its not helping much.


author: Tommy van Extel
body: Thank you for your reply


Tags: confluence-data-center

confluence-server

server