[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4702) out-of-memory on huge DB ?



--Apple-Mail-1--548387425
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	delsp=yes;
	format=flowed


Il giorno 08/ott/06, alle ore 06:35, Howard Chu ha scritto:

> No ideas, this problem doesn't occur on my Linux system. We've  
> slapadd'd and slapcat'd databases of over a terabyte in size, with  
> hundreds of millions of entries, and never seen slapcat grow beyond  
> the size of the BDB cache.

cool :)

> How large is your cache in DB_CONFIG?

Here the entry my DB_CONFIG:

	set_cachesize 0 512000000 1
	set_lg_regionmax 262144
	set_lg_bsize 2097152

and, yes, I use shm_key in slapd.conf

Thx for reply

Paolo Rossi

--Apple-Mail-1--548387425
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=ISO-8859-1

<HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
-khtml-line-break: after-white-space; "><BR><DIV><DIV>Il giorno =
08/ott/06, alle ore 06:35, Howard Chu ha scritto:</DIV><BR =
class=3D"Apple-interchange-newline"><BLOCKQUOTE type=3D"cite"><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">No ideas, this problem doesn't occur on my Linux =
system. We've slapadd'd and slapcat'd databases of over a terabyte in =
size, with hundreds of millions of entries, and never seen slapcat grow =
beyond the size of the BDB cache. <BR></DIV></BLOCKQUOTE><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>cool =
:)</DIV><BR><BLOCKQUOTE type=3D"cite"><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">How large is =
your cache in DB_CONFIG?</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; "></DIV></BLOCKQUOTE><BR></DIV><DIV>Here the entry my =
DB_CONFIG:</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV><SPAN =
class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</SPAN>set_cachesize 0 512000000 1 </DIV><DIV><SPAN =
class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</SPAN>set_lg_regionmax 262144 </DIV><DIV><SPAN class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</SPAN>set_lg_bsize 2097152 =
</DIV><DIV><BR class=3D"khtml-block-placeholder"></DIV><DIV><SPAN =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 15px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; ">and, yes, I use =
shm_key in slapd.conf=A0<BR class=3D"Apple-interchange-newline"></SPAN> =
</DIV><DIV><BR class=3D"khtml-block-placeholder"></DIV><DIV>Thx for =
reply</DIV><DIV><BR class=3D"khtml-block-placeholder"></DIV>Paolo =
Rossi<BR></BODY></HTML>=

--Apple-Mail-1--548387425--