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

Re: DB_CONFIG (Was: [POT] PHP 'hangs' slapd (?!))





--On Friday, October 15, 2004 7:41 AM +0200 Turbo Fredriksson <turbo@bayour.com> wrote:

I'm starting to believe that it have something to do with
my DB_CONFIG file...

I've read http://www.openldap.org/faq/data/cache/1075.html, but there
are some thing/numbers that don't make sense....

The calculation example looks like this:

   (433+1) * 4KB + (52+1) * 16KB in size: 1736KB + 848KB =~ 2.5MB.

First, the number '4KB'. In the calculator, should I use '4', '4000'
or '4096'? I'm _guessing_ '4', but... ?

4.

Second, '1736KB'. Where did that number come from!?

4*434.

The order of operations in mathematics that applies in this case is pieces in ()'s, then the multiplication bits, so you get:

434 * 4KB + 53 * 16 KB

which comes out as:

1736KB + 848KB

which is approximately 2.5MB

--Quanah


-- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html