[Pkg-samba-maint] DO NOT REPLY [Bug 7020] smbd using 2G memory
samba-bugs at samba.org
samba-bugs at samba.org
Wed Jan 6 06:31:47 UTC 2010
https://bugzilla.samba.org/show_bug.cgi?id=7020
------- Comment #40 from jra at samba.org 2010-01-06 00:31 CST -------
Actually, there's one more thing we can use with valgrind to try and find a
long-lived malloc pointer reference.
Can you add the option "--show-reachable=yes" to your valgind command line and
try again (run under valgrind, let it grow a while, then kill <pid>).
So the full command line would be:
valgrind --trace-children=yes --leak-check=full --show-reachable=yes
/usr/bin/smbd
This will dump out *all* known memory references on exit, even the ones that
aren't lost. That will allow me to look for any large, spoolss-related
allocations that are still reachable but probably should already have been
freed.
Jeremy.
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Pkg-samba-maint
mailing list