activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Black (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-4214) PageFile is not loaded
Date Thu, 13 Dec 2012 18:10:14 GMT

    [ https://issues.apache.org/jira/browse/AMQ-4214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13531257#comment-13531257
] 

Michael Black commented on AMQ-4214:
------------------------------------

Unfortunately I haven't been able to reproduce yet though I'm not doing the firewall testing
like I was doing which may have precipitated this.

I would think just checking for negative numbers might help on the server side...seems to
me that's not something that should ever happen.   How could Pending ever go negative?

Michael D. Black
Senior Scientist
Advanced Analytics Directorate
Advanced GEOINT Solutions Operating Unit
Northrop Grumman Information Systems


                
> PageFile is not loaded
> ----------------------
>
>                 Key: AMQ-4214
>                 URL: https://issues.apache.org/jira/browse/AMQ-4214
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Message Store
>    Affects Versions: 5.7.0
>         Environment: Red Hat Enterprise Linux Server release 5.7 (Tikanga)
> System had been up for 15 days.
> The "Messages Enqueued" in the Topics tab for our topic was negative (~-63000)
> The Subscriber tab showed about 14,000 in the Pending Queue Size and was not decreasing.
 Messages Enqueued/Dequeued were incrementing and messages were being delivered (this is a
real-time queue).
> So I deleted the Q.  Then we could not recreate the Q and got the message below.
> Other topics in the system appeared to be fine.
> I had been doing a fair amount of testing on client error recover dropping port connections
and IP connections using the firewall so was aborting connections frequently (though not doing
a lot at once).
> A number of times (due to a bug) tried to make a duplication connection to the Q.  I'm
not sure exactly when the topic went haywire.
> We are running over a WAN with about 30ms latency.
> Can't think of anything else we were doing different than anybody else.
> Here's our connection
>             ActiveMQConnectionFactory tcf =new ActiveMQConnectionFactory(cs);
>             conn = tcf.createTopicConnection();
>             String iName = prop.getTopicSubscriberName();
>             conn.setClientID(iName);
>             session = conn.createTopicSession(false,TopicSession.AUTO_ACKNOWLEDGE);
>             topic = session.createTopic(prop.getBigDataRepositoryTopicName());
>             conn.start();
>             String sName = iName;
>             subscriber = session.createDurableSubscriber(topic, sName);
>            Reporter: Michael Black
>
> 2012-12-07 13:07:06,317 | WARN  | Failed to browse Topic: AllDocumentsTopic | org.apache.activemq.broker.region.Topic
| ActiveMQ Broker[localhost] Scheduler
> java.lang.IllegalStateException: PageFile is not loaded
>         at org.apache.kahadb.page.PageFile.assertLoaded(PageFile.java:809)
>         at org.apache.kahadb.page.PageFile.tx(PageFile.java:303)
>         at org.apache.activemq.store.kahadb.KahaDBStore$KahaDBMessageStore.recover(KahaDBStore.java:523)
>         at org.apache.activemq.store.ProxyTopicMessageStore.recover(ProxyTopicMessageStore.java:62)
>         at org.apache.activemq.store.ProxyTopicMessageStore.recover(ProxyTopicMessageStore.java:62)
>         at org.apache.activemq.broker.region.Topic.doBrowse(Topic.java:570)
>         at org.apache.activemq.broker.region.Topic.access$100(Topic.java:63)
>         at org.apache.activemq.broker.region.Topic$6.run(Topic.java:695)
>         at org.apache.activemq.thread.SchedulerTimerTask.run(SchedulerTimerTask.java:33)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message