You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/09/03 01:46:21 UTC

[jira] [Commented] (ARTEMIS-581) Add setting to control global disk usage

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

ASF GitHub Bot commented on ARTEMIS-581:
----------------------------------------

GitHub user clebertsuconic opened a pull request:

    https://github.com/apache/activemq-artemis/pull/749

    ARTEMIS-581 Implement max disk usage, and global-max-size

    max-disk-usage = how much of a disk we can use before the system blocks
    global-max-size = how much bytes we can take from memory for messages before we start enter into the configured page mode
    
    This will also change the default created configuration into page-mode as that's more reliable for systems.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/clebertsuconic/activemq-artemis paging

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/749.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #749
    
----
commit f84d9d105901253d079ec8dd42b888f15f356354
Author: Clebert Suconic <cl...@apache.org>
Date:   2016-09-02T20:30:44Z

    ARTEMIS-581 Implement max disk usage, and global-max-size
    
    max-disk-usage = how much of a disk we can use before the system blocks
    global-max-size = how much bytes we can take from memory for messages before we start enter into the configured page mode
    
    This will also change the default created configuration into page-mode as that's more reliable for systems.

----


> Add setting to control global disk usage	
> -----------------------------------------
>
>                 Key: ARTEMIS-581
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-581
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>    Affects Versions: 1.3.0
>            Reporter: Lionel Cons
>            Assignee: clebert suconic
>            Priority: Blocker
>             Fix For: 1.5.0
>
>
> AFAIK, there is no way to prevent Artemis from using too much space on the disk (with paged messages).
> Disk space, just like memory space, is limited and Artemis should detect when it is about to use too much space and act accordingly (i.e. DROP, FAIL...).
> ActiveMQ 5.x does allow controlling disk usage via its {{storeUsage}} and {{tempUsage}} settings in {{systemUsage}}.
> Could Artemis also use a global disk setting to limit its disk usage?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)