[PATCHES] Cleanup dead records in messages.tdb

Jeremy Allison jra at samba.org
Tue Apr 1 18:17:39 MDT 2014


On Tue, Apr 01, 2014 at 01:49:13PM -0700, Christof Schmitt wrote:
> When a smbd process dies, pending messages.tdb records for this process
> will not get cleaned up. I have seen one case where the messages.tdb
> file grew very large after I/O requests were delayed and smbd child
> processes died.
> 
> These patches implement cleanup of messages.tdb records that is
> triggered after a smbd dies; any record with an invalid key or a
> non-existing PID will get deleted.

Cool ! This is something I've seen reported in real-world
OEM environments. I'll look over this one really carefully
tomorrow.

We probably need a bug to get this back-ported for 4.1.next
and 4.0.next, can you log one ?

Cheers,

	Jeremy.


More information about the samba-technical mailing list