activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <>
Subject Re: Configuring an IOExceptionHandler
Date Wed, 14 Oct 2015 12:38:44 GMT
I'd say the tried and true approach to handling out-of-space exceptions is
to prevent them from happening in the first place: set the storeLimit and
tempLimit to appropriately large values, enable PFC to ensure you don't
exceed them, and host them in a storage location that you can guarantee
will always have enough space for both of them together.  (For example,
allocate a partition only for them that is 10% larger than the sum of the
two limits, and allow nothing else to write to it.)  Prevention is usually
better than treatment.
On Oct 14, 2015 4:36 AM, "Martin Lichtin" <> wrote:

> Wanted to ask if it is advisable to configure an IOExceptionHandler, such
> as
>      <bean id="ioExceptionHandler"
> class="org.apache.activemq.util.DefaultIOExceptionHandler">
>              <property
> name="ignoreNoSpaceErrors"><value>false</value></property>
>              <property
> name="stopStartConnectors"><value>true</value></property>
>      </bean>
> I could not find much information about this feature, besides
> Is this a tried and trusted approach to handle e.g. an out-of-disk-space
> scenario?
> We've recently had a full disk and experienced lost messages, which is
> something we obviously try to avoid happening in the future.
> - Martin

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