You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@river.apache.org by Asaf Lahav <as...@gmail.com> on 2008/11/20 09:59:53 UTC

FW: Persistent outrigger doesn't shrink logstore

Can anyone help on this?

-----Original Message-----
From: Asaf Lahav [mailto:asaf.lahav@gmail.com] 
Sent: Tuesday, November 18, 2008 5:48 PM
To: 'John.McClain@Sun.COM'
Cc: 'JINI-USERS@JAVA.SUN.COM'
Subject: RE: Persistent outrigger doesn't shrink logstore

The logStore files are constantly growing in size.
I would expect the logStore to reduce the size of the repository as entries
are being taken.
On a test I did I write about 5000 entries and then took all the existing
5000 entries.
Yet, two hours later, the logStore files are still a few megabytes in size.

On another test I did, I defined 2 minutes in lease time for 5000 entries
and after 3 minutes tried to take those entries. Non were returned (as
expected) yet, the logStore files were still as big as if the entries are
still stored in there.

I would expect the logStore files to be reduced as entries either expire or
taken.
Currently it seems as if the logStore files constantly increase in size and
may consume all the disk space if given enough time.

Thanks in advance,
Asaf

-----Original Message-----
From: John.McClain@Sun.COM [mailto:John.McClain@Sun.COM] 
Sent: Tuesday, November 18, 2008 4:22 PM
To: Asaf Lahav
Cc: JINI-USERS@JAVA.SUN.COM
Subject: Re: Persistent outrigger doesn't shrink logstore

Asaf Lahav wrote:
>
> Hi,
>
> Why doesn't a persistent outrigger logstore reduce in size neither 
> after I take entries out of it nor after entries lease time expires?
>
>  
>
> This is the configuration I'm using on outrigger:
>
> com.sun.jini.outrigger {
>
>     initialLookupGroups = new String[] { 
> System.getProperty("user.name") + "InstallVerifyGroup" };
>
>       persistenceDirectory = "C:/Program 
> Files/jini2_1/installverify/persistenceDir";
>
>       store = new com.sun.jini.outrigger.snaplogstore.LogStore(this);
>
> }
>
>  
>
>  
>
> And this it the configuration I'm using for its activator:
>
> new NonActivatableServiceDescriptor(
>
>             "http://" + host + ":" + port + "/outrigger-dl.jar" + jskdl,
>
>             policy,
>
>             "C:\\Program Files\\jini2_1\\lib\\outrigger.jar",
>
>             "com.sun.jini.outrigger.PersistentOutriggerImpl",
>
>             new String[] { "C:\\Program 
> Files\\jini2_1\\installverify\\support\\outrigger.config" })
>
Can you expand on "doesn't shrink"? Which files? After how many operations?