[Samba] cannot add dc to samba v4.1

Andrew Bartlett abartlet at samba.org
Tue Oct 15 21:50:41 MDT 2013

On Wed, 2013-10-16 at 06:03 +0300, Nikos Mitas wrote:
> yesterday i upgraded to v4.1, run samba-tool dbcheck --fix, but the system
> was out of memory (python process ate 16 GB RAM + 4GB swap space and then
> got killed) so i increased the memory to 48 GB and started samba-tool
> dbcheck --fix again.
> i hope the memory is enough and that this procedure will solve the problem.
> i will post the results
> Thanks

If we need that much memory, then we have a memory leak and we should
fix that instead.   Can you run it under valgrind and see if there are
any leaks (the python-related errors can be ignored, we are not
interested in invalid memory in this case). 

Andrew Bartlett

Andrew Bartlett
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Catalyst IT                   http://catalyst.net.nz

More information about the samba mailing list