[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Another observation about the beta release ...
At 09:02 AM 7/14/00 -0700, Anthony Brock wrote:
>This could easily speed us up. Thanks for the suggestion. However, I am still concerned that there might be a memory leak of some kind.
There could be...
>After doing part of the transfer, we noticed the slapd server occupied roughly 41 meg of memory (following the import of a 100 or so entries). I then killed the slapd server, and restarted it. It only occupies roughly 1 meg after restart (the same amount before we imported the information. We then added roughly have the previous number of entries after restart, and once finished, the server now occupies 49 meg of memory.
Note that slapd uses caching (of entries and indexes) and may not
reach a stable memory usage for quite some time.
>Any suggestions what would cause the server to use so much memory, but only after adding accounts? Especially when the physical databases occupy less that a meg of disk space? It seems that the server could actually read the entire database into memory given it's size, and only write when changes are necessary. Is there a configuration option that would allow this to happen for performance (especially on a read-only server)? Is this happening already?
There are a number of options to control caching. See slapd.conf(5).
>The speed is of some concern, though it appears solvable. Of larger concern is the memory issue.
>
>Tony
>
>At 04:38 PM 7/13/00 -0700, erc@pobox.com wrote:
>>Sounds like a database issue to me. This often occurs because as each new
>>record is added, the (steadily growing) index must be searched to avoid
>>adding
>>duplicate records. Hence, the slowdown.
>>
>>If this were an exposed database, I'd recommend removing the indices,
>>adding
>>the records, then re-adding the indices. That would speed things up quite
>>a
>>bit.
>>--
>>Ed Carp, N7EKG erc@pobox.com 940/367-2744 cell phone
>> http://www.pobox.com/~erc
>
>******************************************************************************
>* Anthony Brock abrock@georgefox.edu *
>* Director of Network Services George Fox University *
>******************************************************************************