You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Matt Pavlovich (Jira)" <ji...@apache.org> on 2021/01/15 18:08:00 UTC

[jira] [Commented] (AMQ-2953) Disk limits not observed when memory limits exceeded for non-persistent messaging

    [ https://issues.apache.org/jira/browse/AMQ-2953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17266262#comment-17266262 ] 

Matt Pavlovich commented on AMQ-2953:
-------------------------------------

This issue is quite dated and most likely resolved. Update with a reproducible test case against 5.16.1.

NOTE: This JIRA is scheduled to close in 30 days if no update is provided.

> Disk limits not observed when memory limits exceeded for non-persistent messaging
> ---------------------------------------------------------------------------------
>
>                 Key: AMQ-2953
>                 URL: https://issues.apache.org/jira/browse/AMQ-2953
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Message Store
>    Affects Versions: 5.3.2
>            Reporter: Richard Bonneau
>            Priority: Major
>             Fix For: NEEDS_REVIEW
>
>         Attachments: activemq-JMX-low-tempUsage-lowstoreUsage-STOMP.xml
>
>
> Using the Kahadb persistence adapter.
> When producing non-persistent messages and using the <systemUsage> element to specify memory and disk limits,
> it appears that after memory limit is reached that staging incoming messages to disk continues to happen even
> past the specified disk limit.  More specifically if <memoryUsage> limit is exceeded, we see messages being
> stored into files labelled as data-TopicSubscription-<n>.log.  However, even when <tempUsage> element specifies a limit on the
> disk space to be used, messages continue to be stored there and the limit is not adhered to.
> Attaching the configuration file used for this bug report. I simply used the producer/consumer programs in the example folder to populate and consume large number of messages.
> Note that with ActiveMQ 5.4, similar behavior except that the location of the data files is in data\localhost\tmp_storage and the data files are named  db-<n>.log.
> We need to have the limit(s) adhered to and then the producer should be held up until disk or memory is freed up as expected from the description of handling non-persistent messages.  Under the current implementations, the producer can continue to produce messages until all available disk space is allocated. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)