[Samba] dreplsrv memory

Rowland penny rpenny at samba.org
Thu Apr 30 09:47:00 UTC 2020

On 30/04/2020 09:03, MORILLO Jordi via samba wrote:
> Hi !
> Since few months, dreplsrv is eating lots of memory in few days. Within 2 weeks, the process is generaly OOM killed and replication become weired. I need to restart samba-ad-dc.
> Here is my config :
> -          Samba 4.11.6 / 4 vcpu / 2Go  Ram
> -          10215 objects (ldbs file = 300MB)
> This memory problem only happen on my headbridge DC (star topolgy with 20 DC)
> If I add some ram, the problem occures later but is the same (dreplsrv is eating more memory and swap)
> Since few week, one of my DC is offline and this memory problem get worse. I need to restart samba service every week.
> Exemple :

If one of the DC's has been offline for sometime, have you demoted it ?

Can you post the smb.conf from the affected DC.


More information about the samba mailing list