[Samba] How many memory do I need with the samba4 dc?

L.P.H. van Belle belle at bazuin.nl
Mon Dec 30 04:10:31 MST 2013


Im running a dedicated XEN VM for samba 4, 512MB Ram.  ( sernet samba 4.1.3 with bind9.8 ) 

free -m
             total       used       free     shared    buffers     cached
Mem:           495        388        107          0          3         50
-/+ buffers/cache:        334        161
Swap:         1429        153       1276

no os optimalization is done, minimal install no adjustment to swappins
processes running, samba4, bind9, sshd, ntp, dbus, rpcbind, rsyslog, udev and cron. 

Im still testing, when ready im guessing i need about 2Gb ram for each VM. 
target groups/users is about 100/120. 


Greetz, 

louis


>-----Oorspronkelijk bericht-----
>Van: opaperjam at gmail.com 
>[mailto:samba-bounces at lists.samba.org] Namens Sense Zeng
>Verzonden: zondag 29 december 2013 2:44
>CC: samba at lists.samba.org
>Onderwerp: Re: [Samba] How many memory do I need with the samba4 dc?
>
>My samba version is 4.1.3 and self compiled. My AD is running 
>with win2003
>DC.
>I'm now use a server with 4G ram to join as DC. It's seams can 
>run with use
>4G more swap. But I have other problem. I run twice, after 
>about 6 hour,
>samba-tool domain join stop. Folow is some info:
>
>Command:
>samba-tool domain join mydomain.local DC
>-Uadministrator at MYDOMAIN.LOCAL--server=win2003dc.mydomain.local
>--realm=mydomain.local
>--dns-backend=BIND9_DLZ
>
>6h it stoped. Err message:
>...
>Partition[DC=gdsyzx,DC=edu,DC=cn] objects[222918] linked_values[0]
>Done with always replicated NC (base, config, schema)
>Replicating DC=DomainDnsZones,DC=gdsyzx,DC=edu,DC=cn
>Join failed - cleaning up
>checking sAMAccountName
>ERROR(runtime): uncaught exception - (-1073741643, 
>'NT_STATUS_IO_TIMEOUT')
>  File
>"/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__in
>it__.py",
>line 175, in _run
>    return self.run(*args, **kwargs)
>  File
>"/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/doma
>in.py", line
>552, in run
>    machinepass=machinepass, use_ntvfs=use_ntvfs, 
>dns_backend=dns_backend)
>  File 
>"/usr/local/samba/lib/python2.7/site-packages/samba/join.py", line
>1172, in join_DC
>    ctx.do_join()
>  File 
>"/usr/local/samba/lib/python2.7/site-packages/samba/join.py", line
>1077, in do_join
>    ctx.join_replicate()
>  File 
>"/usr/local/samba/lib/python2.7/site-packages/samba/join.py", line
>825, in join_replicate
>    replica_flags=ctx.replica_flags)
>  File 
>"/usr/local/samba/lib/python2.7/site-packages/samba/drs_utils.py",
>line 252, in replicate
>    (level, ctr) = self.drs.DsGetNCChanges(self.drs_handle, 
>req_level, req)
>-- 
>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