S4: Winbind and high CPU load averages.

Ricky Nance ricky.nance at weaubleau.k12.mo.us
Thu Oct 4 14:41:29 MDT 2012


Convenience, its not a completely necessary thing to have, but it is nice
when changing permissions from the linux side (which with samba 4 I find
myself doing less and less now anyways). I'd be fine looking into stuff if
you can give me a point the in the right direction.

Ricky

On Thu, Oct 4, 2012 at 12:03 PM, Matthieu Patou <mat at samba.org> wrote:

> 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
>
>
> --
> Matthieu Patou
> Samba Team
> http://samba.org
>
>


--


More information about the samba-technical mailing list