Storing pipe opens in the share_mode db ?
jra at samba.org
Thu Jun 8 03:20:21 GMT 2006
On Wed, Jun 07, 2006 at 03:42:26PM -0500, Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Jeremy & Volker,
> I'm working on the Open Files enumeration in MMC.
> Here's a screenshot of what's working.
> Next, I need to be able to enumerate pipe opens across
> all smbd process which means I need to store them in a db.
> I am thinking about just using the share_mode db. Any objections
> to this? I believe that set_share_mode() when opening the pipe
> and del_share_mode() when closing the pipe is all I need.
> But I need to fake up a dev & inode pair. Any warnings
> or suggestions about this? Do either of you think this is
> a horrible idea?
I would prefer you not use the share mode db (the main
open file db). The contention on this under load is
*horrible*, plus it's the bottleneck for clustered
Samba. I'd suggest another tdb, sorry.
I'm afraid I think it's a horrible idea :-).
More information about the samba-technical