dead records in locking.tdb (was: Locking database cleanup?)
jra at samba.org
Sun May 21 05:25:33 GMT 2006
On Sun, May 21, 2006 at 09:40:48AM +0530, Dhruva Krishnamurthy wrote:
> Just an idea with my limited knowledge of the core internals.
> - Use the aproach suggested by Jeremy, clean up if no process is
> running with the PID in the TDB records
> - For every forked smbd process (on each new client connection), have
> it clean up the TDB's with it's PID (child process's PID) at startup.
> This makes sure that no stale records can affect that process's
Traversing the tdb at startup is excruciatingly painful
on systems like Solaris (and others). It's why we removed
the code that did just this in the first place.
More information about the samba-technical