[Samba] samba AD DC eats memory
samba at abisoft.biz
Tue Feb 18 11:13:03 UTC 2020
> On Mon, 2020-02-17 at 19:11 +0300, Alex via samba wrote:
>> I'm running Samba AD DC in a VM under Proxmox. And it's eaten all RAM (1.8GB) within 3
>> days of running:
> Exactly which version is this?
Sorry, forgot to mention it. Samba version is 4.11.6. Some more info (if needed):
[root at vm-dc3 ~]# wbinfo -u | wc -l
[root at vm-dc3 ~]# wbinfo -g | wc -l
> Which sub-process is eating the memory?
I was trying to determine that w/o success. Looks like all Samba processes do
> Can you get a talloc dump using 'smbcontrol $PID pool-usage' for
> whichever PID is leaking the memory?
Not sure which one is _leaking_ the memory, so I took the one which ate memory
more than the others (by "ps auxw").
Please, find the report here: https://www.dropbox.com/s/76qdq1x89brmib0/samba.1520.pool-usage.txt.gz?dl=0
> Does the problem reproduce on a current Samba 4.11?
Yes, it's on the latest.
> Our new LDAP server design is much more memory efficient, particularly
> if you have pathological clients that search for the whole DB and then
> keep the socket open.
I don't think we have such clients.
More information about the samba