Status of 64-bit TDB

Jeremy Allison jra at samba.org
Mon Jun 15 17:58:58 GMT 2009


On Mon, Jun 15, 2009 at 10:46:22AM -0500, John H Terpstra - Samba Team wrote:
> What is the status of updating TDB to 64-bit?
> 
> I have been monitoring a site that has experienced problems with
> messages.tdb hitting the 4GB level.  The site runs an application that
> sometime takes 7-10 days to complete.  After 2-3 days of operation the
> message.tdb file will grow to approx. 3.5GB.
> 
> When tdbdump is run against this file it seems to be empty, except when
> an application is processing files in deeply nested directories. When
> that happens the messages.tdb, brlock.tdb and the locking.tdb file can
> suddenly grow very large.  This typically happens when two workstations
> are accessing the same directories.
> 
> Every few weeks this file hits the 4GB limit and then smbd crashes.
> These files need to be deleted, and Samba restarted.  This of course
> interrupts production work.
> 
> The files being processed can be in directories that are nested 10-15
> deep.  There are 10,000-20,000 small (1kbyte-500kbyte) files per
> directory. Admittedly, this is an extreme situation.

What does being "processed" mean ? This seems to me like
it might be an issue with notify code being overloaded.

Does the problem still occur if "change notify = no"
is set ?

Jeremy.


More information about the samba-technical mailing list