Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confluence stopped working frequently

Srikanth Muthyala July 31, 2019

In my organization we are using confluence wiki. Some times it will not respond, restart the host will solve the issue. It is happening very frequent.  need help

2 answers

0 votes
Milan Chheda [INFOSYSTA]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 31, 2019

Did you check and can you share log entries from `atlassian-confluence.log` to better understand on why Confluence service is going down?

Srikanth Muthyala July 31, 2019

2019-07-31 02:52:14,105 ERROR [pool-9-thread-1] [common.util.concurrent.Futures$CombinedFuture] setExceptionAndMaybeLog input future failed.
java.lang.OutOfMemoryError: Java heap space
2019-07-31 02:52:14,105 ERROR [pool-9-thread-1] [common.util.concurrent.Futures$CombinedFuture] setExceptionAndMaybeLog input future failed.
java.lang.OutOfMemoryError: Java heap space
2019-07-31 02:52:14,105 ERROR [pool-9-thread-1] [common.util.concurrent.Futures$CombinedFuture] setExceptionAndMaybeLog input future failed.
java.lang.OutOfMemoryError: Java heap space
2019-07-31 02:52:14,105 ERROR [pool-9-thread-1] [common.util.concurrent.Futures$CombinedFuture] setExceptionAndMaybeLog input future failed.
java.lang.OutOfMemoryError: Java heap space
2019-07-31 02:52:14,136 WARN [http-nio-8090-exec-20] [confluence.util.profiling.DefaultActivityMonitor] close Exceeded the threshold of 60000 ms: ActivitySnapshot{startTime=1564535931863, threadId=1295, threadName='http-nio-8090-exec-20', userId='<unknown>', type='web-request', summary='/rest/capabilities/navigation?lang=en-GB'}
-- url: /rest/capabilities/navigation | traceId: bbfd1c4ed13267b6 | userName: anonymous
2019-07-31 02:52:14,152 WARN [http-nio-8090-exec-10] [confluence.util.profiling.DefaultActivityMonitor] close Exceeded the threshold of 60000 ms: ActivitySnapshot{startTime=1564535996842, threadId=278, threadName='http-nio-8090-exec-10', userId='<unknown>', type='web-request', summary='/rest/capabilities/navigation?lang=en-GB'}
-- url: /rest/capabilities/navigation | traceId: 70ca077ba4730719 | userName: anonymous
2019-07-31 02:52:14,214 ERROR [pool-9-thread-1] [common.util.concurrent.Futures$CombinedFuture] setExceptionAndMaybeLog input future failed.
java.lang.OutOfMemoryError: Java heap space
2019-07-31 02:52:14,230 WARN [http-nio-8090-exec-16] [confluence.util.profiling.DefaultActivityMonitor] close Exceeded the threshold of 60000 ms: ActivitySnapshot{startTime=1564535905374, threadId=1291, threadName='http-nio-8090-exec-16', userId='<unknown>', type='web-request', summary='/rest/capabilities/navigation?lang=en-GB'}
-- url: /rest/capabilities/navigation | traceId: f78a1fadf437a674 | userName: anonymous
2019-07-31 02:52:14,152 WARN [ContainerBackgroundProcessor[StandardEngine[Standalone]]] [confluence.util.profiling.DurationThresholdWarningTimingHelperFactory] logMessage Execution time for publishing event com.atlassian.sal.api.events.SessionDestroyedEvent@48b87b12 took 2047238 ms (warning threshold is 5000 ms)
2019-07-31 02:52:14,245 ERROR [Caesium-1-3] [scheduler.caesium.impl.SchedulerQueueWorker] executeJob Unhandled exception thrown by job QueuedJob[jobId=BackupJob,deadline=1564534800000]
java.lang.OutOfMemoryError: Java heap space
2019-07-31 02:52:14,245 ERROR [pool-9-thread-1] [common.util.concurrent.Futures$CombinedFuture] setExceptionAndMaybeLog input future failed.
java.lang.OutOfMemoryError: Java heap space
2019-07-31 02:52:14,245 ERROR [pool-9-thread-1] [common.util.concurrent.Futures$CombinedFuture] setExceptionAndMaybeLog input future failed.
java.lang.OutOfMemoryError: Java heap space
2019-07-31 02:52:14,245 ERROR [pool-9-thread-1] [common.util.concurrent.Futures$CombinedFuture] setExceptionAndMaybeLog input future failed.
java.lang.OutOfMemoryError: Java heap space
2019-07-31 02:52:14,245 ERROR [pool-9-thread-1] [common.util.concurrent.Futures$CombinedFuture] setExceptionAndMaybeLog input future failed.
java.lang.OutOfMemoryError: Java heap space
2019-07-31 02:52:14,245 ERROR [pool-9-thread-1] [common.util.concurrent.Futures$CombinedFuture] setExceptionAndMaybeLog input future failed.
java.lang.OutOfMemoryError: Java heap space
2019-07-31 02:52:14,245 ERROR [pool-9-thread-1] [common.util.concurrent.Futures$CombinedFuture] setExceptionAndMaybeLog input future failed.
java.lang.OutOfMemoryError: Java heap space
2019-07-31 02:52:14,245 ERROR [pool-9-thread-1] [common.util.concurrent.Futures$CombinedFuture] setExceptionAndMaybeLog input future failed.
java.lang.OutOfMemoryError: Java heap space
2019-07-31 02:52:14,245 ERROR [pool-9-thread-1] [common.util.concurrent.Futures$CombinedFuture] setExceptionAndMaybeLog input future failed.
java.lang.OutOfMemoryError: Java heap space
2019-07-31 02:52:14,245 ERROR [pool-9-thread-1] [common.util.concurrent.Futures$CombinedFuture] setExceptionAndMaybeLog input future failed.
java.lang.OutOfMemoryError: Java heap space
2019-07-31 02:52:14,245 ERROR [pool-9-thread-1] [common.util.concurrent.Futures$CombinedFuture] setExceptionAndMaybeLog input future failed.
java.lang.OutOfMemoryError: Java heap space

Srikanth Muthyala July 31, 2019

02:05:54,632 WARN [Caesium-1-1] [impl.schedule.caesium.JobRunnerWrapper] runJob Scheduled job LaasPerformanceLoggingJob#LaasPerformanceLoggingJob completed unsuccessfully with response JobRunnerResponse[runOutcome=ABORTED,message='LaaS performance logging is turned off']
2019-07-30 02:06:03,508 WARN [alert-dispatch:thread-1] [confluence.alert-log] log 1564448763508 ; WARNING ; JVM ; JVM-1002 ; Garbage collection exceeded time limit ; not-detected ; ; ; {"durationInMillis":4668,"windowInMillis":20000,"limitPercent":10,"threadMemoryAllocations":"","threadDump":[]}
2019-07-30

Srikanth Muthyala July 31, 2019

2019-07-31 02:52:14,245 ERROR [pool-9-thread-1] [common.util.concurrent.Futures$CombinedFuture] setExceptionAndMaybeLog input future failed.
java.lang.OutOfMemoryError: Java heap space

Milan Chheda [INFOSYSTA]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 31, 2019

@Srikanth Muthyala - It's pretty clear from logs

java.lang.OutOfMemoryError: Java heap space

You need to configure your JVM to increase the memory. 

It's well-documented on Atlassian too: 

https://confluence.atlassian.com/confkb/confluence-crashes-due-to-outofmemoryerror-java-heap-space-error-183469749.html

https://confluence.atlassian.com/confkb/how-to-fix-out-of-memory-errors-by-increasing-available-memory-154071.html

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 31, 2019

All we can tell you from a report of "it goes wrong" is that "you need to fix it"

To fix it, you need to know what is wrong.  The best place to start working that out is to read the logs and do some monitoring.  When it stops, what do the logs say?  What is the server doing?  High memory/cpu/disk/other-resource usage?

Srikanth Muthyala July 31, 2019

ERROR [pool-9-thread-1] [common.util.concurrent.Futures$CombinedFuture] setExceptionAndMaybeLog input future failed.
java.lang.OutOfMemoryError: Java heap space

Like admins likes this
JP _AC Bielefeld Leader_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 31, 2019

Well,

it's pretty obvious:

* Add more RAM to your server

* Configure your Java VM to use more heap space

Check:

https://confluence.atlassian.com/confkb/how-to-fix-out-of-memory-errors-by-increasing-available-memory-154071.html

Best

JP

Like Nic Brough -Adaptavist- likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events