activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juraj Kuruc (JIRA)" <>
Subject [jira] Commented: (AMQ-1797) persistent messages for durable subscribers are not purged from disc storage
Date Fri, 27 Feb 2009 13:25:59 GMT


Juraj Kuruc commented on AMQ-1797:

I've tested amq revision number 747951. Cleaning storage using amqPersistenceAdapter is better
now, but there are still files that, in my opinion, need to be deleted  - in data/journal/
directory after receiving sotps there are still files data-47 and data-87 and no other number
between (I guess that in optimal state should be file numbering continous).
There is also problem that from 100k msgs sent message  have been only 97208 acknowledged
(it should be 100k on both receivers, while every odd message is ack) and  "already dispatched"
error is still there.

with kahaPersistenceAdapter is behaviour very similar as before.

> persistent messages for durable subscribers are not purged from disc storage
> ----------------------------------------------------------------------------
>                 Key: AMQ-1797
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Message Store
>    Affects Versions: 5.1.0
>         Environment: WinXP,
> java version "1.6.0_05"
> Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
> Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)
>            Reporter: Juraj Kuruc
>            Assignee: Rob Davies
>             Fix For: 5.3.0
>         Attachments: activemq.xml,,,
> I have some problems with multiple durable subscribers while persistent delivery is used.
> Message should be deleted from disc storage (periodically) after all interested subscribers
have received it. In case there was one durable subscriber everything woks just fine. However
when I tested this scenerio with two durable subscribers on topic,  the messages were never
deleted (disc usage is continously consumed and never purged). 
> Test case description:
> -using default activemq.xml configuration file from binary distribution 
> creates two separetes durable consumers
> -textMessageFile.txt is file which text is sent by producer (place it on classpath)
> Result:
> -all messages there were send were also received by both subscribers
> -after more then 100k messages data directory is about 1GB. 
> -restarting activemq with so big persistent storage takes very long time

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message