Installed 6.5.4 SP RRD already closed Exception | Community
Skip to main content
Level 4
March 22, 2020
Solved

Installed 6.5.4 SP RRD already closed Exception

  • March 22, 2020
  • 6 replies
  • 12897 views

I've installed the latest SP, 6.5.4 and now see the below error littered throughout the logs. Any quick fixes to get rid of this?

22.03.2020 19:11:00.158 *ERROR* [metrics-RRD4JReporter-1-thread-1] com.codahale.metrics.ScheduledReporter Exception thrown from RRD4JReporter#report. Exception was suppressed.
java.lang.IllegalStateException: RRD already closed, cannot store this sample
at org.rrd4j.core.RrdDb.store(RrdDb.java:512) [org.apache.sling.commons.metrics-rrd4j:1.0.2]
at org.rrd4j.core.Sample.update(Sample.java:194) [org.apache.sling.commons.metrics-rrd4j:1.0.2]
at org.apache.sling.commons.metrics.rrd4j.impl.RRD4JReporter.report(RRD4JReporter.java:260) [org.apache.sling.commons.metrics-rrd4j:1.0.2]
at com.codahale.metrics.ScheduledReporter.report(ScheduledReporter.java:235) [com.adobe.granite.dropwizard.metrics:3.2.4]
at com.codahale.metrics.ScheduledReporter$1.run(ScheduledReporter.java:174) [com.adobe.granite.dropwizard.metrics:3.2.4]
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by scotty64724204

Restart your AEM instance and it should fix it

6 replies

bohdanm45202827
March 23, 2020
Got this exception on a fresh 6.5.2.0 environment too. It spams so much in logs
HeavyDevy
April 17, 2020

I have the same Issue. Did you find out how to solve this? 

Fresh AEM 6.5.0 SP4 installed via Package Share. 

Level 4
June 12, 2020
Seems once I restarted after the install, it has gone away. Odd because usually if a SP need a restart, it does it automatically.
scotty64724204Accepted solution
Level 2
May 1, 2020

Restart your AEM instance and it should fix it

Level 4
May 1, 2020

True, but I would like to understand why it happens periodically. It seems to fail on the same thread over and over but the metrics still get written to. I've tried restarting a couple of related bundles but that doesn't seem to help. I also noticed the thread started having issues after some nightly maintenace jobs but that could be just a coincidence.

Adobe Employee
June 12, 2020
Got this error after installation of SP5
Nikhil-Kumar
Community Advisor
Community Advisor
August 15, 2020

Hey,

Try restarting the AEM instance and verify the changes.

Adobe Employee
May 21, 2022