powered by Jive Software

Error sampling for statistic sessions

Hi All,
We are using openfire 4.1.4. And we are getting a lot of “Error sampling for statistic sessions” error in logs.

2018.07.25 19:28:17 org.jivesoftware.openfire.reporting.stats.StatsEngine - Error sampling for statistic sessions
org.jrobin.core.RrdException: Bad sample timestamp 1532546880. Last update time was 1532546880, at least one second step is required
at org.jrobin.core.RrdDb.store(Unknown Source)
at org.jrobin.core.Sample.update(Unknown Source)
at org.jivesoftware.openfire.reporting.stats.StatsEngine$SampleTask.run(StatsEngine.java:392)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

Please let me know what is the root cause and how we can prevent it?

Thanks,
Anil

I can’t say what is causing it. But updating to the latest version of Openfire and Monitoring plugin should at least show if it wasn’t already fixed.