directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ezsra McDonald <ezsra.mcdon...@gmail.com>
Subject Re: Large replica files in /tmp
Date Tue, 16 Jun 2015 21:52:24 GMT
On Tue, Jun 16, 2015 at 11:01 AM, Ezsra McDonald <ezsra.mcdonald@gmail.com>
wrote:

>
>
> On Tue, Jun 16, 2015 at 10:31 AM, Kiran Ayyagari <kayyagari@apache.org>
> wrote:
>
>> On Tue, Jun 16, 2015 at 11:16 PM, Ezsra McDonald <
>> ezsra.mcdonald@gmail.com>
>> wrote:
>>
>> > I don't think it is a bug.
>> >
>>
>> > These files were generated during the very large import via ldapadd. The
>> > replica files filled the /tmp file system which I believe snowballed
>> into
>> > other issues so the replication may not have completed. I was hoping I
>> > could configure ADS to use a different location for the replica files.
>> I am
>> > also working with our system guys to have the tmp file system increased.
>> >
>> the files with extension ".sorted-data" are created while searching with a
>> sort control
>> and these files will be deleted when the associated cursor gets closed.
>>
>>
>
> To make sure I understand, these were not created by the replication
> process but by a query? I may have opened a browser on my People OU with
> 300k entries it it. Would this cause he sorted-data files?
>
>
>> And something is not right and these files are still hanging around, was
>> the server
>> stopped using ctrl+c ? or are you running server on windows?
>>
>>
> When I saw the file system was full I stopped ADS.
>
>
>>
>> > On the note of replication completing. What is the best way to tell the
>> > status of replication on ADS? Even getting a count of entries in the
>> > database would be helpful.
>> >
>> the best way is to compare the contentEntryCsn on the base entry of each
>> partition
>> I planned to write a CLI to do this, but it still remained in the TODO
>> list.
>>
>>
> I'll take a look at contentEntryCsn, thanks.
>

I could not find the contentEntryCsn attribute but I did find entryCSN.
This seems to be an index or something. What am I looking for? I made a
change to a user's e-mail address. The change was replicated but this value
stayed the same.



>
>
>> >
>> > On Mon, Jun 15, 2015 at 9:52 PM, Kiran Ayyagari <kayyagari@apache.org>
>> > wrote:
>> >
>> > > On Tue, Jun 16, 2015 at 9:31 AM, Ezsra McDonald <
>> > ezsra.mcdonald@gmail.com>
>> > > wrote:
>> > >
>> > > > Greetings
>> > > >
>> > > > I assume this has to do with the import of 300+k entries to my LDAP.
>> > What
>> > > > do these mean? Do they have to be in /tmp? Can I put them somewhere
>> > else?
>> > > >
>> > > they are created by the replication subsystem, they are supposed to be
>> > > deleted after
>> > > use, can you file a bug?
>> > >
>> > > >
>> > > > -rw-r--r--  1 apacheds apacheds         0 Jun 15 20:32
>> > > > replica2007608221525362157.sorted-data
>> > > > -rw-r--r--  1 apacheds apacheds         0 Jun 15 20:32
>> > > > replica2007608221525362157.sorted-data.db
>> > > > -rw-r--r--  1 apacheds apacheds 685559808 Jun 15 20:45
>> > > > replica2007608221525362157.sorted-data.lg
>> > > >
>> > > >
>> > > > ADS M20
>> > > >
>> > > > --Ez
>> > > >
>> > >
>> > >
>> > >
>> > > --
>> > > Kiran Ayyagari
>> > > http://keydap.com
>> > >
>> >
>>
>>
>>
>> --
>> Kiran Ayyagari
>> http://keydap.com
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message