[
https://issues.apache.org/jira/browse/AMQ-6769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16083786#comment-16083786
]
Christopher L. Shannon commented on AMQ-6769:
---------------------------------------------
Are there any other IOExceptions in the log? My guess is the PageFile not
loaded error is the result of another error.
The PageFile would typically only become unloaded if the store was closed or if
there was another IOException error. Since this happened during the checkpoint
tasks that tells me that the store was open so my guess is some other
IOException occurred during pagefile write which triggered KahaDB to detect the
error and unload the PageFile.
Also, there was some improvements done to the PageFile IOException detection in
5.15.0 in this Jira AMQ-6625
> "PageFile is not loaded" rebooting AMQ every few days
> -----------------------------------------------------
>
> Key: AMQ-6769
> URL: https://issues.apache.org/jira/browse/AMQ-6769
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker, KahaDB
> Affects Versions: 5.14.1
> Environment: OS: Debian 8
> Reporter: Haris Osmanagić
>
> Hi everyone!
> So, this has happened a few times already: ActiveMQ reboots itself. What I
> can see in the logs is something like following:
> {{2017-05-25 13:52:21,227 | ERROR | Checkpoint failed |
> org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal
> Checkpoint Worker
> java.lang.IllegalStateException: PageFile is not loaded
> at
> org.apache.activemq.store.kahadb.disk.page.PageFile.assertLoaded(PageFile.java:811)[activemq-kahadb-store-5.14.1.jar:5.14.1]
> at
> org.apache.activemq.store.kahadb.disk.page.PageFile.tx(PageFile.java:304)[activemq-kahadb-store-5.14.1.jar:5.14.1]
> at
> org.apache.activemq.store.kahadb.MessageDatabase.checkpointUpdate(MessageDatabase.java:1689)[activemq-kahadb-store-5.14.1.jar:5.14.1]
> at
> org.apache.activemq.store.kahadb.MessageDatabase.checkpointCleanup(MessageDatabase.java:1061)[activemq-kahadb-store-5.14.1.jar:5.14.1]
> at
> org.apache.activemq.store.kahadb.MessageDatabase$CheckpointRunner.run(MessageDatabase.java:424)[activemq-kahadb-store-5.14.1.jar:5.14.1]
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_45]
> at
> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)[:1.8.0_45]
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)[:1.8.0_45]
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)[:1.8.0_45]
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_45]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_45]
> at java.lang.Thread.run(Thread.java:745)[:1.8.0_45]
> 2017-05-25 13:52:21,228 | INFO | Stopping BrokerService[localhost] due to
> exception, java.io.IOException: PageFile is not loaded |
> org.apache.activemq.util.DefaultIOExceptionHandler | ActiveMQ Journal
> Checkpoint Worker
> java.io.IOException: PageFile is not loaded}}
> I am almost certain this is not enough to find the cause of it.: ) Hence, I
> would be thankful if someone could point to towards places where I can
> additional info.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)