S4: Winbind and high CPU load averages.

Matthieu Patou mat at samba.org
Thu Oct 4 11:03:57 MDT 2012

On 10/04/2012 06:52 AM, Ricky Nance wrote:
> So, this morning my load averages were running around 2.5 - 3.0,
> not terribly high, but higher than normal. So naturally the first thing I
> did (and no this isnt' always the case) was to make sure that I had the
> latest and greatest git, after a rebuild and restart of samba I was still
> seeing 2.5 - 3.0 averages. There was one process in particular causing the
> issue and netstat -anp | grep pid showed several msg'ing pipes and some
> winbind pipes. Just testing I took the winbind entries out of my
> nsswitch.conf and my load averages started dropping. I am now down to .35
> and everything is back to its normal smoothness. I guess the question now
> is, why is winbind eating up all of my CPU? Any ideas/suggestions/solutions
> welcome.
Samba4's winbindd is not really optimized for the libnss called we tend 
to return one result at the time which takes a lot of time.
So unless you have 20 users in the AD (or so) I don't recommend using 
the libnsswinbind.

Why did you add it ?


Matthieu Patou
Samba Team

More information about the samba-technical mailing list