Hi authentication load causes problems because of funnelling through winbindd

Richard Sharpe rsharpe at richardsharpe.com
Mon Sep 15 17:09:37 GMT 2003


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).

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

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

Regards
-----
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com




More information about the samba-technical mailing list