[Samba] dreplsrv memory
MORILLO Jordi
j.morillo at educationetformation.fr
Thu Apr 30 10:22:31 UTC 2020
Hi Rowland,
One of my DC is offline because Adsl is down and I can't physicaly reboot modem (Covid confinement) :-/
Here is my headbridge DC config:
[global]
workgroup = PR
realm = pr.educationetformation.fr
netbios name = DC000
server role = active directory domain controller
bind interfaces only = yes
interfaces = lo eth0
printcap name = /dev/null
load printers = no
dns forwarder = 10.1.5.1 10.1.1.12
# Needed for FreeRadius PEAP MSCHAP
ntlm auth = mschapv2-and-ntlmv2-only
[netlogon]
path = /var/lib/samba/sysvol/pr.educationetformation.fr/scripts
read only = No
[sysvol]
path = /var/lib/samba/sysvol
read only = No
"samba-tool drs showrepl" is fine everywhere (except my offline DC).
No error at samba-tool dbcheck --cross-ncs --fix --yes
-----Message d'origine-----
De : samba <samba-bounces at lists.samba.org> De la part de Rowland penny via samba
Envoyé : jeudi 30 avril 2020 11:47
À : samba at lists.samba.org
Objet : Re: [Samba] dreplsrv memory
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.
Rowland
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
More information about the samba
mailing list