[Samba] samba AD DC eats memory
abartlet at samba.org
Wed Mar 4 22:29:45 UTC 2020
On Wed, 2020-03-04 at 19:13 +0300, Alex via samba wrote:
> Hello Andrew,
> > I've got a fix for one issue seen here.
> > BUG: https://bugzilla.samba.org/show_bug.cgi?id=14299
> > MR: https://gitlab.com/samba-team/samba/-/merge_requests/1168
> Yesteray, I've deployed freshly released 4.12.0 and it still eats
> top - 18:59:10 up 1 day, 25 min, 1 user, load average: 0.08, 0.13,
> Tasks: 176 total, 1 running, 175 sleeping, 0 stopped, 0 zombie
> %Cpu(s): 0.2 us, 0.0 sy, 0.0 ni, 99.8 id, 0.0 wa, 0.0 hi, 0.0
> si, 0.0 st
> MiB Mem : 1829.4 total, 198.7 free, 1229.6 used, 401.1
> MiB Swap: 1536.0 total, 1508.2 free, 27.8 used. 392.4
> avail Mem
> Right after samba started, it took around 500MB of "used".
> The OS is CentOS 8.
> # uname -r
> smem output: https://paste.ee/p/W9hO9
> samba-tool processes: https://paste.ee/p/OGoav
> smbcontrol pool-usage for most memory-consuming processes:
> Anything I can do to help troubleshoot it further?
Thanks. This shows that the particular fix I made is correct, but that
the main issue (which is duplicate schema loading) is, as expected, not
I've been quite busy chasing a number of other community issues and
won't have time to investigate this further until at least next week.
Authentication Developer, Samba Team https://samba.org
Samba Development and Support, Catalyst IT - Expert Open Source
More information about the samba