DescriptionAndreas Schneider
2021-06-09 09:14:42 UTC
Description of problem:
Memory leak in RPC server could allocate a lot of memory for print servers
On a heavily loaded Samba printserver with several hundred queque it was noted that after upgrading from 4.6 to 4.13 smbd processes were eating up memory over the cause of a few days.
As an example the smbd process with the highest resided set size was
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
7657 WIN\pet+ 20 0 1369160 398484 7824 S 0,0 2,5 1:02.80 smbd
398 MB...
talloc report of the process:
full talloc report on 'null_context' (total 153473847 bytes in 2253252 blocks)
153 MB....
The talloc report has a myriad duplicate printer related metadata objects. The talloc report is 2M lines, still grinding through it.
Comment 1Alexander Bokovoy
2021-06-09 09:29:12 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (samba bug fix and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2021:4438