Status of 64-bit TDB

John H Terpstra - Samba Team jht at
Mon Jun 15 16:06:58 GMT 2009

Volker Lendecke wrote:
> On Mon, Jun 15, 2009 at 10:46:22AM -0500, John H Terpstra - Samba Team wrote:
>> 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.
> Before doing the 64-bit tdb just for messages.tdb, I would
> rather go and rip out messages.tdb overall and replace it
> with something like the s4 messaging system based on unix
> domain sockets.

OK, sounds good, but what impact will that have in a situation where the
number of transactions (or messages) suddenly grows - will it exhaust
domain socket resources? What will be the impact on application memory
use and/or kernel resources?

- John T.

> messages.tdb with 3.5GB is a bug somewhere else. A 64-bit
> tdb implementation will not help you there. You might want
> to look if the system has smbd processes in state D for
> extended periods of time, which would give a hint towards a
> kernel bug or a hardware problem.
> Can you take a look in the system if you have such D state
> processes?
> Volker

More information about the samba-technical mailing list