You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Volker Kleinschmidt (JIRA)" <ji...@apache.org> on 2015/09/05 03:53:45 UTC

[jira] [Commented] (AMQ-1382) Unnecessary creation of /activemq-data/localhost/tmp_storage directory with AMQ 5.x

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

Volker Kleinschmidt commented on AMQ-1382:
------------------------------------------

The tmp_storage directory is used to store non-persistent messages when their creation occurs faster than their consumption (i.e. when the consumer is slow). You really have no control over whether this gets created or not - it happens dynamically as needed. But you do have settings to control how much memory and disk space the broker may use, and by allocating more memory to the broker you can often prevent the use of tmp_storage.

> Unnecessary creation of /activemq-data/localhost/tmp_storage directory with AMQ 5.x
> -----------------------------------------------------------------------------------
>
>                 Key: AMQ-1382
>                 URL: https://issues.apache.org/jira/browse/AMQ-1382
>             Project: ActiveMQ
>          Issue Type: Bug
>         Environment: NA
>            Reporter: Dave Stanley
>            Assignee: Hiram Chirino
>             Fix For: 5.3.0
>
>         Attachments: AMQ-1382_Unit_Test1.patch
>
>
> With AMQ 5.0 everytime AMQ runs the following directory structure is created:
> /activemq-data/localhost/tmp_storage.
> This didn't happen in AMQ 4.1.0.X and looks to be a side effect of the new temporary spooling feature in 5.x.
> Since the broker is configured to be non-persistent, ActiveMQ should not be creating this directory. 



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