You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Configured the confluence on-prem server and confluence db on EC2 instance using docker. Please see the below docker-compose.yml
version: '3'
services:
confluence:
image: atlassian/confluence:7.19.0
environment:
- DISABLE_NOTIFICATIONS=TRUE
- CONF_ARGS=-Datlassian.plugins.enable.wait=300
volumes:
- ./data:/opt/atlassian/confluence/data
ports:
- 8090:8090
environment:
- JVM_MINIMUM_MEMORY=1024m
- JVM_MAXIMUM_MEMORY=4096m
- JVM_RESERVED_CODE_CACHE_SIZE=512m
restart: always
confluencedb:
image: postgres:14
environment:
- POSTGRES_PASSWORD=secret
- POSTGRES_USER=confluence
- POSTGRES_DB=confluence
volumes:
- ./db:/var/lib/postgresql/data
ports:
- 5432:5432
restart: always
While running performance testing to insert 500K records(heavy operation) in confluence on-prem server using some script or when the confluence on-prem server is idle, I have observed the confluence on-prem server shutting down daily means when performing heavy operations on confluence on-prem server, the server always shuts down and gets the below error.
Out of memory issue
Exception in thread "I/O dispatcher 11" Exception in thread "I/O dispatcher 17" Exception in thread "I/O dispatcher 7" java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
29-Oct-2022 00:08:58.709 SEVERE [Catalina-utility-4] org.apache.catalina.core.StandardServer.startPeriodicLifecycleEvent Error sending periodic event
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space
at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
Despite increasing the heap memory of confluence on-prem server in docker-compose.yml file with - JVM_RESERVED_CODE_CACHE_SIZE=512m, the server is still shutting down.
DB connection pool issue
2-Nov-2022 04:48:43.442 SEVERE [http-nio-8090-exec-48] org.apache.catalina.core.StandardHostValve.custom Exception Processing ErrorPage[errorCode=500, location=/500page.jsp]
org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is java.lang.IllegalStateException: DB connection pool is exhausted; obtaining a new DB connection for this request is disallowed.
at org.springframework.orm.hibernate.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:476)
at com.atlassian.confluence.impl.hibernate.ConfluenceHibernateTransactionManager.doBegin(ConfluenceHibernateTransactionManager.java:41)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.startTransaction(AbstractPlatformTransactionManager.java:400)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373)
After booting up the containers everything works well but again When performing heavy operations on confluence on-prem server, the server shuts down.
It would be great if you could assist me with the following question to resolve the issue with Confluence on-prem server shutting down.
@Atlassian Support We are waiting for your response. Could you please look into it and guide me how can we resolve this issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.