[Samba] Samba-4.1.18 romaing profile causes memory leak

hy wu wuhysmb at gmail.com
Wed May 20 01:35:38 MDT 2015


I tried to use static IP  but memory leak still happened.

User account can login windows machine and read/write back user profile
correctly.

This problem does not only happen in samba-4.1.18.

I used samba as domain controller from samba-4.0.5 and this problem has
always been there.

2015-05-20 15:12 GMT+08:00 L.P.H. van Belle <belle at bazuin.nl>:

> Are you running with DHCP IP adress? ( not adviced )
>
> i see, ..
> >dns forwarder = 127.0.1.1
>
> 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 127.0.1.1 of sorts.
> like :
> 127.0.0.1 localhost localhost.localdomain
> 192.168.0.1 dc.sub.domain.tld dc
>
>
> Greetz,
> Louis
>
>
>
>
>
> >-----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
> >domain.
> >
> >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
> >"\\dc.testdom.ork\share\user1"
> >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:
> >
> >[global]
> >workgroup = TESTDOM
> >realm = TESTDOM.ORK
> >netbios name = DC
> >server role = active directory domain controller
> >dns forwarder = 127.0.1.1
> >
> >[netlogon]
> >path = /usr/local/samba/var/locks/sysvol/testdom.ork/scripts
> >read only = No
> >
> >[sysvol]
> >path = /usr/local/samba/var/locks/sysvol
> >read only = No
> >[share]
> >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