Hi authentication load causes problems because of funnelling through winbindd

Jeremy Allison jra at samba.org
Mon Sep 15 17:26:25 GMT 2003


On Mon, Sep 15, 2003 at 10:09:37AM -0700, Richard Sharpe wrote:
> Hi,
> 
> In the Samba 3.0.0 code we are seeing issues with high auth load. This 
> seems to be because the listen backlog of 5 explicitely coded in 
> lib/sock_util.c (I think) means that some smbd's will get ECONNREFUSED on 
> the connect call in nsswitch/wb_common.c:winbind_named_pipe_sock.
> 
> While I have changed the listen backlog to -1 I still experienced problems 
> trying to connect 500 clients (with cifs_bm) in a short period of time (I 
> also exhausted all the mbuf clusters on the system as well, but that is a 
> separate issue).

These sound like FreeBSD issues to be honest. I don't think we've seen
this on a Linux PSA box.

> I think that we will want to retry that operation after a short delay if 
> the error is ECONNREFUSED ...

Yep - that's the right thing to do.

> We are coding a fix and I can forward a patch if that is of interest.

Yes please.

Jeremy.



More information about the samba-technical mailing list