[Samba] Possible memory leak in

Ralph Boehme slow at samba.org
Sun Sep 12 09:15:00 UTC 2021


Am 09.09.21 um 23:38 schrieb Matt Oursbourn via samba:
> Even if the file transfer is able to finish, samba never releases the
> memory so the next file causes the crash pretty quickly. The only way to
> reclaim the ram is to restart samba.

can you run

# smbcontrol pool-usage PID > pool-usage.txt

on one of the memory eating processes *before* it has grown to multi-GB 
in size and post it somewhere for download? The pool-usage command 
prints a textual representation of the memory managed by the 
hierarchical memory allocator "talloc" that is used by Samba for most 
memory allocations.

Cheers!
-slow

-- 
Ralph Boehme, Samba Team                 https://samba.org/
SerNet Samba Team Lead      https://sernet.de/en/team-samba

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20210912/9e8b2248/OpenPGP_signature.sig>


More information about the samba mailing list