[jira] [Commented] (AMQ-6436) tmp_storage folder not cleaned on startup

2016-09-23 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on AMQ-6436:
--

Commit a82c95cd29a6b06d2083b1869129b9e2addac7da in activemq's branch 
refs/heads/master from [~cshannon]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=a82c95c ]

https://issues.apache.org/jira/browse/AMQ-6436

The temporary store will now delete the old temp directory on start up
if lazyInit is true instead of waiting for the store to initialize to
clear up space.  This prevents space on the disk from being wasted with
old data if the temp store isn't initialized


> tmp_storage folder not cleaned on startup
> -
>
> Key: AMQ-6436
> URL: https://issues.apache.org/jira/browse/AMQ-6436
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 5.13.3
> Environment: Windows/RHEL 6.8 tested
>Reporter: Reid Sommerville
>Assignee: Christopher L. Shannon
> Fix For: 5.14.1, 5.15.0
>
> Attachments: JMSTmpStor.java, message.txt
>
>
> saw this on our production servers, activemq failed to start due to no space 
> on the mount where tmp_storage was located. Reproduced it on a local windows 
> machine.
> start a default activemq broker at the command line.
> Run the attached code enough times to cause activemq to start writing to the 
> the tmp_storage folder, in my case 1 messages was enough to give me 513Mb 
> in tmp_storage
> restart activemq and note that the contents of the tmp_storage folder are 
> still intact. 



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


[jira] [Commented] (AMQ-6436) tmp_storage folder not cleaned on startup

2016-09-23 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on AMQ-6436:
--

Commit b1c09d9a859c9caf6eccacdb23ca0b5f65f9b527 in activemq's branch 
refs/heads/activemq-5.14.x from [~cshannon]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=b1c09d9 ]

https://issues.apache.org/jira/browse/AMQ-6436

The temporary store will now delete the old temp directory on start up
if lazyInit is true instead of waiting for the store to initialize to
clear up space.  This prevents space on the disk from being wasted with
old data if the temp store isn't initialized

(cherry picked from commit a82c95cd29a6b06d2083b1869129b9e2addac7da)


> tmp_storage folder not cleaned on startup
> -
>
> Key: AMQ-6436
> URL: https://issues.apache.org/jira/browse/AMQ-6436
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 5.13.3
> Environment: Windows/RHEL 6.8 tested
>Reporter: Reid Sommerville
>Assignee: Christopher L. Shannon
> Fix For: 5.14.1, 5.15.0
>
> Attachments: JMSTmpStor.java, message.txt
>
>
> saw this on our production servers, activemq failed to start due to no space 
> on the mount where tmp_storage was located. Reproduced it on a local windows 
> machine.
> start a default activemq broker at the command line.
> Run the attached code enough times to cause activemq to start writing to the 
> the tmp_storage folder, in my case 1 messages was enough to give me 513Mb 
> in tmp_storage
> restart activemq and note that the contents of the tmp_storage folder are 
> still intact. 



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


[jira] [Commented] (AMQ-6436) tmp_storage folder not cleaned on startup

2016-09-19 Thread Christopher L. Shannon (JIRA)

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

Christopher L. Shannon commented on AMQ-6436:
-

This happens because the temporary store is lazily initialized the first time 
it is needed which is only after there are enough non-persistent messages to 
fill up memory so that the messages need to be dumped to disk.  So on restart 
the old directory isn't touched until initialization.  However, it probably 
wouldn't hurt to clear out the temp store directory on first start up.

> tmp_storage folder not cleaned on startup
> -
>
> Key: AMQ-6436
> URL: https://issues.apache.org/jira/browse/AMQ-6436
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 5.13.3
> Environment: Windows/RHEL 6.8 tested
>Reporter: Reid Sommerville
> Attachments: JMSTmpStor.java, message.txt
>
>
> saw this on our production servers, activemq failed to start due to no space 
> on the mount where tmp_storage was located. Reproduced it on a local windows 
> machine.
> start a default activemq broker at the command line.
> Run the attached code enough times to cause activemq to start writing to the 
> the tmp_storage folder, in my case 1 messages was enough to give me 513Mb 
> in tmp_storage
> restart activemq and note that the contents of the tmp_storage folder are 
> still intact. 



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