[Samba] continuous access to printer causes high memory usage
Jeremy Allison
jra at samba.org
Tue Jul 25 16:00:15 GMT 2006
On Tue, Jul 25, 2006 at 05:54:47PM +0200, Roel van Meer wrote:
> Martin Zielinski writes:
>
> >and http://lists.samba.org/archive/samba/2004-November/096492.html
> >The symptoms are the same as you described.
>
> This seems to be exactly what is biting us. I've tried to get a
> configuration on the client that would not result in the spooler to go into
> a loop, but no success so far.
>
> As an afterthought, why should a repeated access from a spooler result in
> unlimited memory consumption of the smbd process? It seems odd.
>
> The output of 'smbcontrol <pid> pool-usage' on the memory-using smbd
> processes shows that thare are many references to a structure named
> NT_PRINTER_INFO_LEVEL (many thousands, increasing with about 230 every
> minute) that keep the memory allocated. This causes the used virtual memory
> to increase with about 4 MiB per minute.
>
> Is this something that is in fact correct behaviour but is leading to too
> much memory consumption because of the amount of rpc calls?
>
> As there are more people who seem to have this problem I've opened a
> bugzilla report: https://bugzilla.samba.org/show_bug.cgi?id=3962
This is a Windows client bug I believe. There's a hotfix for it I think...
Jerry knows more of the details. I'll try and find it.
Jeremy.
More information about the samba
mailing list