Samba4 and memory consumption - needing frequent kills

Andrew Bartlett abartlet at samba.org
Thu Aug 9 01:08:32 MDT 2012


On Wed, 2012-08-08 at 21:04 +0200, Arvid Requate wrote:
> Hello Kev,
> 
> maybe you are facing the same issue here as reported in 
> https://bugzilla.samba.org/show_bug.cgi?id=8827 ?

As I've just commented on the bug, I need a --leak-report-full rather
than just --leak-report.

Also, if that does not show the cause, perhaps instead of shutting down
the server run with --leak-report-full, then attach to the large process
with:

gdb -p <pid>

get me a bt full (if the process is busy, just for interest)

Then run

p talloc_enable_null_tracking()
p talloc_report_full(0, stderr)

and mail me the output or attach it to the bug.  (mail it to me
privately if it is not a test domain).

Hopefully I can then figure out what is still attached to the
talloc_autofree_context() and figure out a way to ensure it is cleaned
up earlier. 

Thanks,

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org




More information about the samba-technical mailing list