Fw: Re: Implemented OPLOCK for FreeBsd

Jeremy Allison jra at samba.org
Fri Sep 7 19:54:26 GMT 2001


On Fri, Sep 07, 2001 at 04:47:06PM -0700, Jeremy Allison wrote:

> The sysconf variable for the number of queued signals is :
> 
> SIGQUEUE_MAX           _SC_SIGQUEUE_MAX       Maximum number of
>                                                queued signals that a
>                                                process may send and
>                                                have pending at the
>                                                receiver(s) at any
>                                                time.
> 
> Signals under this limit are guarenteed to be queued. Now if this
> is less than the number of open and oplocked files per smbd then
> we are safe. I'm trying to track down numbers for this on various
> systems so we can judge. But note this number will be easy to
> increase - so making it equal to the number of file descriptors
> available per process guarentees that we will never lose a message.

Ok - I've done some checking on the 'net. SIGQUEUE_MAX is
a system tunable. This means we're fine, and it is a scalable
quantity for reliable signal delivery, as admins can always set
it on a particular system.

Does this answer your scalability questinos w.r.t the existing
interface ?

Jeremy.




More information about the samba-technical mailing list