activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino" <hi...@hiramchirino.com>
Subject Re: Reclaiming of unused space (growing data dir)
Date Wed, 05 Apr 2006 21:33:34 GMT
Are you using queues or topics?

On 4/5/06, Azly <azly.nacro@gmail.com> wrote:
>
> Hi,
>
> I'm using AMQ 4.0 RC2 and runnig 3 producers and 3 consumers threads.
> I'm using derby as persistence datastore :
>
> <persistenceAdapter>
>         <jdbcPersistenceAdapter  dataSource="#derby-ds"/>
> </persistenceAdapter>
>
> Everything goes well but the derby data dir is growing even if all produced
> messages are consumed.  The log directory seems to be reset  every 11M.  But
> the data dir (seg0) is still growing.
>
> I'm wondering if there is an option in activemq to reclain unused space ?
>
> Thanks
> Azly
>
> see du -h in data/derbydb/
>
> $ du -h
> 4.0K   ./tmp
> 2.1M  ./log
> 35M   ./seg0
> 37M     ./derbydb
> 37M     .
>
> $ du -h
> 4.0K    ./tmp
> 4.5M    ./log
> 70M     ./seg0
> 75M     .
>
> $ du -h
> 4.0K    ./tmp
> 1000K   ./log
> 118M    ./seg0
> 119M    .
>
> $ du -h
> 4.0K    ./tmp
> 1.2M    ./log
> 118M    ./seg0
> 119M    .
>
> $ du -h
> 4.0K    ./tmp
> 1.6M    ./log
> 118M    ./seg0
> 120M    .
>
> $ du -h
> 4.0K    ./tmp
> 2.1M    ./log
> 118M    ./seg0
> 120M    .
>
> 4.0K    ./tmp
> 1000K   ./log
> 138M    ./seg0
> 139M    .
>
> --
> View this message in context: http://www.nabble.com/Reclaiming-of-unused-space-%28growing-data-dir%29-t1401159.html#a3770047
> Sent from the ActiveMQ - User forum at Nabble.com.
>
>


--
Regards,
Hiram

Mime
View raw message