Re: Huge NDBM 'users' files under Irix 6.2

Tom Samplonius (tom@sdf.com)
Sun, 3 Aug 1997 23:49:23 -0700 (PDT)

On Sun, 3 Aug 1997, Jared Reimer wrote:

> Greetings.
>
> Is it normal for the .pag file to be 15 times the size of the original
> 'users' file after running builddbm under SiliconGraphics IRIX 6.2? (I'm
> using the stock Livingston RADIUS package.)

For fast lookups of variable sized records, ndbm allocates quite of bit
of padding. Thankfully, your filesystem probably supports sparse files,
so the actual space consumed is probably much less than the file length.

> Thanks,
>
> Jared
>
>
>
>
> Jared Reimer, System Administrator
> Sense Networking Seattle (http://www.oz.net)
> (206) 989-6698 || (425) 451-9400
>
>
>

Tom