activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "amq user" <amq.u...@gmail.com>
Subject config persistence question
Date Thu, 07 Dec 2006 16:52:59 GMT
Hi,

I was setting persistenceAdapter like this:

 <journaledJDBC journalLogFiles="500" dataDirectory="${activemq.home
}/activemq-data"/>

and after I started the activemq, I got:

INFO  JournalPersistenceAdapter      - Journal Recovery Started from: Active
Journal: using 500 x 20.0 Megs at: /tmp/download/incubator-activemq-4.0.2
/activemq-data/journal

I think I should get around 500 x 20.0 Megs=10G space. But when I was trying
to send 10,000 message at each 1K all at once, I got :
activemq::io::SocketOutputStream::write - Resource temporarily unavailable -
tid: 3086756768
        FILE: activemq/network/SocketOutputStream.cpp, LINE: 85 - tid:
3086756768
        FILE: activemq/connector/stomp/StompCommandWriter.cpp, LINE: 101 -
tid: 3086756768
        FILE: ./activemq/transport/ResponseCorrelator.h, LINE: 163 - tid:
3086756768
caught unknown exception - tid: 3086756768
        FILE: activemq/connector/stomp/StompConnector.cpp, LINE: 465 - tid:
3086756768
        FILE: activemq/core/ActiveMQSession.cpp, LINE: 495 - tid: 3086756768
        FILE: activemq/core/ActiveMQProducer.cpp, LINE: 89 - tid: 3086756768
        FILE: activemq/core/ActiveMQProducer.cpp, LINE: 71 - tid: 3086756768
caught unknown exception
        FILE: activemq/connector/stomp/StompConnector.cpp, LINE: 465
        FILE: activemq/core/ActiveMQSession.cpp, LINE: 495
        FILE: activemq/core/ActiveMQProducer.cpp, LINE: 89
        FILE: activemq/core/ActiveMQProducer.cpp, LINE: 71

Did I miss anything?

Update: I noticed the exception was from producer not from the broker. Is it
because producer is too slow to handle messages? I tried to send 5000
messages at a time, it runs fine.

Thanks

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message