[Samba] [Announce] Samba 4.12.8 Available for Download

Peter Eriksson pen at lysator.liu.se
Thu Oct 8 12:57:58 UTC 2020


> o  Laurent Menase <laurent.menase at hpe.com>
>   * BUG 14388: winbind: Fix a memleak.

This is nice. I had hoped this also would fix the slow/always failing enumeration triggered by “wbinfo -u” but still no go :-)

Our AD has 146331 users. Attempting a “wbinfo -u” will cause winbindd to use 100% CPU for about 7 minutes before calming down again.
‘wbinfo -u’ gives up after about a minute and returns an error “Error looking up domain users” but that doesn’t cause winbindd to stop doing whatever it’s doing :-)

(This is on a fast machine with lots of RAM and CPU and 10G ethernet interfaces…)

But atleast winbindd doesn’t grow forever now, it reaches around 300MB and then backs down to 140MB again. FreeBSD 11.3.

Doing a truss (strace equiv) when it’s 100% busy it seems to be doing:

...
fcntl(16,F_SETLK, ….) = 0 
fcntl(16, F_SETLKW, ….) = 0
… (repeat) …

Possibly on the gencache.tdb file (sometimes it’s that file that has fd 16 atleast - lsof)

Anyway, I’ll just keep on staying away from doing ‘wbinfo -u’ so no big issue for me :-)

- Peter





More information about the samba mailing list