[Samba] cannot add dc to samba v4.1

Nikos Mitas nkmitas at gmail.com
Tue Oct 15 22:08:58 MDT 2013

i didn't mention that the database objects to examine are 49000. so i don't
now if the reason it fails is a memory leak, too many objects, or both
anyway i will run the samba-tool dbcheck (i have backup of the virtual
machine) under valgrind today

2013/10/16 Andrew Bartlett <abartlet at samba.org>

> 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
> http://samba.org/~abartlet/
> Authentication Developer, Samba Team           http://samba.org
> Samba Developer, Catalyst IT                   http://catalyst.net.nz

More information about the samba mailing list