Startup error of embedded ActiveMQ: Temporary Store limit is 51200 mb

BurnetZhong

I have a Spring web application which will send and listen on a standalone ActiveMQ. When I start the web application, it shows:

20:12:52.684 [localhost-startStop-1] ERROR o.a.activemq.broker.BrokerService - Temporary Store limit is 51200 mb, whilst the temporary data directory: /root/activemq-data/localhost/tmp_storage only has 29021 mb of usable space

I googled and read many articles, they all refer to configure broker and systemusage to limit the temp store size. However, I do not how to do this in Spring configuration. Below is my configuration XML.

<bean id="connectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory">
    <property name="brokerURL" value="${jms.broker_url}" />
</bean>
<bean id="cachingConnectionFactory" class="org.springframework.jms.connection.CachingConnectionFactory">
    <property name="targetConnectionFactory" ref="connectionFactory" />
    <property name="sessionCacheSize" value="10" />
</bean>

<bean id="recvQueue" class="org.apache.activemq.command.ActiveMQQueue">
    <constructor-arg value="q.recv" />
</bean>
<bean id="sendQueue" class="org.apache.activemq.command.ActiveMQQueue">
    <constructor-arg value="q.send" />
</bean>
<bean id="notifyQueue" class="org.apache.activemq.command.ActiveMQQueue">
    <constructor-arg value="q.notify" />
</bean>

<!-- Spring JMS Template -->
<bean id="jmsTemplate" class="org.springframework.jms.core.JmsTemplate">
    <property name="connectionFactory" ref="cachingConnectionFactory" />
</bean>
<bean id="batchImplMessageProducer" class="com.seebon.spfcore.repository.jms.BatchImplMessageProducer">
    <property name="jmsTemplate" ref="jmsTemplate" />
    <property name="sendQueue" ref="sendQueue" />
    <property name="recvQueue" ref="recvQueue" />
    <property name="notifyQueue" ref="sendQueue" />

</bean>

<bean id="advancedQueueContainer" class="org.springframework.jms.listener.DefaultMessageListenerContainer">
    <property name="connectionFactory" ref="connectionFactory" />
    <property name="destination" ref="recvQueue" />
    <property name="messageListener" ref="recvBatchImplMessageListener" />

    <property name="concurrentConsumers" value="5" />
    <property name="maxConcurrentConsumers" value="10" />
</bean>


<bean id="recvBatchImplMessageListener" class="com.seebon.spfcore.repository.jms.RecvBatchImpMessageListener" />

Please help me out of here, THANKS!

Vihar

In your activeMQ.xml you would have some configuration like this

<systemUsage>
   <systemUsage>
      ....
      <tempUsage>
         <tempUsage limit="50 gb"/>
      </tempUsage>
   </systemUsage>
</systemUsage>

you need to specify a value which is available on your disk,as error clearly mentions there is only 29021 MB of free space you need to set <tempUsage limit="50 gb"/> to a value lesser than your free space

you can do something like <tempUsage limit="20 gb"/>

Hope this helps!

Good luck!

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

ActiveMQ 5.8.0 startup issue - ERROR BrokerService - Temporary Store limit is 51200 mb

From Dev

How to enable web console on ActiveMq embedded broker

From Dev

ActiveMQ 5.9 startup script?

From Dev

Exception when restarting embedded activeMQ broker with jdbcPersistenceAdapter

From Dev

Store Temporary Variables Using PHP?

From Dev

store the temporary data in couchbase or redis

From Dev

Store and Process Messages in ActiveMQ

From Dev

Cannot concurrently consume from ActiveMQ embedded broker

From Dev

ActiveMQ and prefetch limit

From Dev

ActiveMQ: how to programmatically monitor embedded broker

From Dev

ActiveMQ embedded vs standalone performance

From Dev

Visual Studio 2015: Template store path is invalid error on startup

From Dev

Bootloader/Startup code Embedded Systems

From Dev

Azure Web app save temporary files limit

From Dev

Error on Tomcat Embedded startup

From Dev

Error on Tomcat Embedded startup

From Dev

Pattern to store temporary values with Ramda

From Dev

Creating consumer and temporary queue in same connection in Activemq?

From Dev

How to enable web console on ActiveMq embedded broker

From Dev

Rails 3.x startup error on Dreamhost - session_store.rb issue?

From Dev

ActiveMQ http connection error

From Dev

Run embedded activemq broker on the servlet container port

From Dev

Limit pipe size and write to temporary file as a fallback

From Dev

How to efficiently store temporary userdata

From Dev

Session to store temporary data in MVC

From Dev

Error while ActiveMQ installation

From Dev

Why is Amavis giving a Retry limit exceeded / File exists error on startup?

From Dev

Spring Boot WebSocket with embedded ActiveMQ Broker

From Dev

SAP DBTech JDBC: [2048]: column store error: search table error: [2724] Olap temporary data size exceeded 31/32 bit limit"

Related Related

  1. 1

    ActiveMQ 5.8.0 startup issue - ERROR BrokerService - Temporary Store limit is 51200 mb

  2. 2

    How to enable web console on ActiveMq embedded broker

  3. 3

    ActiveMQ 5.9 startup script?

  4. 4

    Exception when restarting embedded activeMQ broker with jdbcPersistenceAdapter

  5. 5

    Store Temporary Variables Using PHP?

  6. 6

    store the temporary data in couchbase or redis

  7. 7

    Store and Process Messages in ActiveMQ

  8. 8

    Cannot concurrently consume from ActiveMQ embedded broker

  9. 9

    ActiveMQ and prefetch limit

  10. 10

    ActiveMQ: how to programmatically monitor embedded broker

  11. 11

    ActiveMQ embedded vs standalone performance

  12. 12

    Visual Studio 2015: Template store path is invalid error on startup

  13. 13

    Bootloader/Startup code Embedded Systems

  14. 14

    Azure Web app save temporary files limit

  15. 15

    Error on Tomcat Embedded startup

  16. 16

    Error on Tomcat Embedded startup

  17. 17

    Pattern to store temporary values with Ramda

  18. 18

    Creating consumer and temporary queue in same connection in Activemq?

  19. 19

    How to enable web console on ActiveMq embedded broker

  20. 20

    Rails 3.x startup error on Dreamhost - session_store.rb issue?

  21. 21

    ActiveMQ http connection error

  22. 22

    Run embedded activemq broker on the servlet container port

  23. 23

    Limit pipe size and write to temporary file as a fallback

  24. 24

    How to efficiently store temporary userdata

  25. 25

    Session to store temporary data in MVC

  26. 26

    Error while ActiveMQ installation

  27. 27

    Why is Amavis giving a Retry limit exceeded / File exists error on startup?

  28. 28

    Spring Boot WebSocket with embedded ActiveMQ Broker

  29. 29

    SAP DBTech JDBC: [2048]: column store error: search table error: [2724] Olap temporary data size exceeded 31/32 bit limit"

HotTag

Archive