activemq可靠吗? [英] Is activemq reliable?

查看:131
本文介绍了activemq可靠吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们已将ActiveMQ放在新服务器上。将其配置为使用 kahadb(我们读过的首选)并将其设置为允许文件扩展到2gb。

We have put ActiveMQ on a fresh server. Configured it to use 'kahadb' (the preferred as we read) and set it to allow the file to expand to 2gb.

然后将负载放入队列中( +-500 / sec),几分钟之内activemq崩溃。

Then when we put load on the queue (+- 500/sec), within a few minutes activemq crashes.

ActiveMQ尝试重新启动时,不能因为数据库损坏而被破坏:

When ActiveMQ tries to restart, it can't because the db is corrupt:

2010-11-29 13:00:50,359 | ERROR | Failed to start ActiveMQ JMS Message Broker. Reason: 
java.io.EOFException | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
java.io.EOFException
at java.io.RandomAccessFile.readFully(RandomAccessFile.java:383)
at java.io.RandomAccessFile.readFully(RandomAccessFile.java:361)
at org.apache.kahadb.page.PageFile.readPage(PageFile.java:792)
at org.apache.kahadb.page.Transaction.load(Transaction.java:411)

只有删除数据库并允许使用日志对其进行修复,它才会再次出现,仅在几分钟后再次崩溃。

Only by deleting the DB and letting it fix itself using the journal is it up again, only to crash again after a few minutes.

还有其他人遇到这些可靠性问题吗?

Anyone else having these reliability issues?

ActivemQ(5.4.1)安装在Win2003上,带有Java64位(1.6.0__22)

ActivemQ (5.4.1) is installed on Win2003, with Java64 bit (1.6.0__22)

负载是由4个使用Stomp运行PHP的Web服务器完成的。

The load is being done by 4 webservers running PHP using Stomp.

推荐答案

这是5.4.1的已知问题。它已修复,并在5.4.2版本中可用,现在应该每天都可以使用。您可以从此处测试候选版本: https://repository.apache.org/content/repositories/orgapacheactivemq-023/org/apache/activemq/apache-activemq/5.4.2/

This is a known issue for 5.4.1. It's fixed and available in 5.4.2 release that should go out any day now. You can test release candidate from here: https://repository.apache.org/content/repositories/orgapacheactivemq-023/org/apache/activemq/apache-activemq/5.4.2/

这篇关于activemq可靠吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆