amazon-web-services - 如何增加 AmazonMQ 最大连接数

标签 amazon-web-services jms activemq broker amazon-mq

2019-08-01 06:04:43,263 | ERROR | Could not accept connection : org.apache.activemq.transport.tcp.ExceededMaximumConnectionsException: Exceeded the maximum number of allowed client connections. See the 'maximumConnections' property on the TCP transport configuration URI in the ActiveMQ configuration file (e.g., activemq.xml) | org.apache.activemq.broker.TransportConnector | ActiveMQ Transport Server Thread Handler: nio+ssl://b-e13f27f2-1fa3-419f-819c-a24277e973a8-2.mq.us-west-2.amazonaws.com:61617?maximumConnections=100&wireFormat.maxFrameSize=104857600



在 amazonMQ 上获得上述异常,早些时候我们使用的是 activeMQ,我们在那里设置了类似的东西
<transportConnectors>
        <!-- DOS protection, limit concurrent connections to 1000 and frame size to 100MB -->
        <transportConnector name="openwire" uri="tcp://0.0.0.0:61616?maximumConnections=1000&amp;wireformat.maxFrameSize=104857600"/>
    </transportConnectors>

在 amazonMQ 中,我们无法找到此类选项,并且代理正在抛出异常。我们在 amazonMQ 支持上检查了 transportConnector :
  • 姓名
  • updateClusterClients
  • rebalanceClusterClients
  • updateClusterClientsOnRemove

  • 知道我们如何增加最大连接的大小吗?

    最佳答案

    如所列 here每个 AWS 账户都可以更改该限制。

    您需要打开 AWS 支持工单,请求提高限制

    关于amazon-web-services - 如何增加 AmazonMQ 最大连接数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57322739/

    相关文章:

    java - JMS 客户端 session 使用

    java - EJB3 中的动态资源注入(inject)?

    java - Camel 将 REDELIVERY_MAX_COUNTER 重置为 0 或 n 不起作用

    将 AWS cdn 放入 JS 文件时未定义 JavaScript AWS

    python - 使用python将字节流写入s3

    ubuntu - Amazon AWS 用户数据未在 Ubuntu 14.04 AMI 上执行

    java - spring 配置嵌入式 BrokerService

    amazon-web-services - DLQ 中应该包含哪些类型的异常?

    java - 无法连接到 Tibco JMS 服务器

    java - 在同一台机器上同时运行 ActiveMQ 和 RabbitMQ 时 AMQP 协议(protocol)版本不匹配