summaryrefslogtreecommitdiff
path: root/source3/smbd/smb2_flush.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-02-05 21:08:56 -0800
committerJeremy Allison <jra@samba.org>2010-02-05 22:17:32 -0800
commitdd498d2eecf124a03b6117ddab892a1112f9e9db (patch)
tree347a63bb161ff6945d5a3d07460a8bfa22828b0f /source3/smbd/smb2_flush.c
parent74267d652485cdcb711f734f0d80da0fb1495867 (diff)
downloadsamba-dd498d2eecf124a03b6117ddab892a1112f9e9db.tar.gz
samba-dd498d2eecf124a03b6117ddab892a1112f9e9db.tar.bz2
samba-dd498d2eecf124a03b6117ddab892a1112f9e9db.zip
s3-smbd: add a rate limited cleanup of brl, connections and locking db
On unclean shutdown we can end up with stale entries in the brlock, connections and locking db. Previously we would do the cleanup on every unclean exit, but that can cause smbd to be completely unavailable for several minutes when a large number of child smbd processes exit. This adds a rate limited cleanup of the databases, with the default that cleanup happens at most every 20s
Diffstat (limited to 'source3/smbd/smb2_flush.c')
0 files changed, 0 insertions, 0 deletions