[Samba] Samba-4.1.18 romaing profile causes memory leak

L.P.H. van Belle belle at bazuin.nl
Wed May 20 01:12:20 MDT 2015

Are you running with DHCP IP adress? ( not adviced ) 

i see, .. 
>dns forwarder = 

run : 
hostname -i
hostname -I 
if you see anything with 127.0.x.x 
Then your setup is not correct and can have problems. ( for example with authentication. ) 
please make sure your /etc/hosts file does not contain of sorts. 
like : localhost localhost.localdomain dc.sub.domain.tld dc


>-----Oorspronkelijk bericht-----
>Van: wuhysmb at gmail.com [mailto:samba-bounces at lists.samba.org] 
>Namens hy wu
>Verzonden: woensdag 20 mei 2015 8:57
>Aan: samba at lists.samba.org
>Onderwerp: [Samba] Samba-4.1.18 romaing profile causes memory leak
>Hi List,
>I used samba-4.1.18 as domain controller and tried to use 
>romaing profile.
>I got memory leak when every account with profile path setting logout.
>Every account with profile path setting eat almost 10mB memory 
>so my samba
>machine crash if there are many hundred account with profile setting in
>Any option in smb.conf or operation can help ?
>This is my reproduce setps:
>1. create domain "testdom.ork"
>2. create 10 accounts and set profile path in "share"
>    for example : profile path of "user1 " is 
>3. check MemFree in /proc/meminfo
>4. login/logout 10 accounts created in step 2
>5. check MemFree in proc/meminfo   <---almost 100mB reduced
>my smb.conf:
>workgroup = TESTDOM
>realm = TESTDOM.ORK
>netbios name = DC
>server role = active directory domain controller
>dns forwarder =
>path = /usr/local/samba/var/locks/sysvol/testdom.ork/scripts
>read only = No
>path = /usr/local/samba/var/locks/sysvol
>read only = No
>path = /share
>        read only = No
>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