TDB on OpenBSD problem.

Simo Sorce idra at samba.org
Wed May 2 16:48:50 GMT 2001


It may also be usefull to have DEBUG statements return tdb->map_size
and tdb->map_ptr values before and after the size update.

Simo.

P.S: you may also exclude timestamps.

On Wed, May 02, 2001 at 11:49:06AM -0400, Jason Coene wrote:
> Andrew,
> 
> I undefined HAVE_MMAP in config.h, and it still reproduced the error.
> 
> Jason Coene
> 
> 
> ###  -----Original Message-----
> ###  From: samba-technical-admin at lists.samba.org
> ###  [mailto:samba-technical-admin at lists.samba.org]On Behalf Of
> ###  tridge at samba.org
> ###  Sent: Wednesday, May 02, 2001 8:58 AM
> ###  To: jeremy at valinux.com
> ###  Cc: jason at dhnw.net; crh at nts.umn.edu; samba-technical at samba.org
> ###  Subject: Re: TDB on OpenBSD problem.
> ###
> ###
> ###  > The code that causes a tdb to grow is in tdb_expand() in tdb/tdb.c.
> ###  > Can you instrument this code with DEBUG level zeros to try and track
> ###  > down what is causing the gig expansion. That level of expansion would
> ###  > point to a bug in the interaction between tdb and mmap or fcntl.
> ###
> ###  another thing to try is to disable mmap in tdb.c and see if that fixes
> ###  it. If not then we should suspect a tdb logic bug - the non-mmap code
> ###  is pretty portable.
> ###
> ###
> 
> 

-- 
Simo Sorce
------------------------------
 Unix IS user friendly, it is just selective about who his friends are.




More information about the samba-technical mailing list