[Samba] samba AD DC eats memory

Alex samba at abisoft.biz
Wed Mar 4 16:13:59 UTC 2020


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 memory:

top - 18:59:10 up 1 day, 25 min,  1 user,  load average: 0.08, 0.13, 0.10
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 buff/cache
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
4.18.0-147.5.1.el8_1.x86_64

smem output: https://paste.ee/p/W9hO9
samba-tool processes: https://paste.ee/p/OGoav
smbcontrol pool-usage for most memory-consuming processes: https://www.dropbox.com/s/ll1iwbzumafdmah/smbcontrol.pool-usage.tgz?dl=0

Anything I can do to help troubleshoot it further?

-- 
Best regards,
Alex




More information about the samba mailing list