messages.tdb growing to 4GB (4294971392 bytes)

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Jun 3 20:49:50 GMT 2009

On Wed, Jun 03, 2009 at 11:47:24AM -0500, John H Terpstra - Samba Team wrote:
> Has anyone else come across situations where messages.tdb grows to 4GB?

No, but a very likely reason is that an smbd holding a
shared file is stuck in gfs in state D.

> It seems smbd is no longer able to access this file after it reaches
> this size.
> -rw-------  1 root root   4294971392 2009-06-03 09:39 messages.tdb

Yep, 4GB is a known limit for tdb, it uses 32 bit pointers
internally. Tridge right now is looking at expanding that.

Search for stuck smbds, reboot those nodes and file a bug
with RedHat. We've had quite a few of those supporting
"wakku" on the #ctdb irc channel the last few days.

You might want to comment out the call to
SMB_VFS_KERNEL_FLOCK() in smbd/open.c, gfs2 seems very
unhappy with that call, leading to processes in state D

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the samba-technical mailing list