[Samba] nmbd memory leak in 2.2.x CVS

jra at dp.samba.org jra at dp.samba.org
Sun Nov 17 19:26:00 GMT 2002


On Thu, Nov 14, 2002 at 07:58:07PM -0000, Noel Kelly wrote:
> I am running 2.2.6 on a customer's site and everything has been perfect.
> However I noticed the other day that one of the two nmbd processes (it is a
> wins server) had grown to 13Mb over a two week period.  
> 
> I needed to update to the latest CVS version anyway and had hoped that
> something in that might fix things.  Five days later and things are looking
> the same:
> 
> nmbd started on Nov 9th:
> root      1271  0.0  0.2  3684 1456 ?        S    Nov09   0:10
> /usr/local/samba/bin/nmbd -o
> root      1272  0.0  0.8  7100 4428 ?        S    Nov09   0:02
> /usr/local/samba/bin/nmbd -o
> 
> Today Nov 14th:
> root      1271  0.0  0.2  3688 1460 ?        S    Nov09   0:21
> /usr/local/samba/bin/nmbd -o
> root      1272  0.0  1.8 12376 9704 ?        S    Nov09   0:07
> /usr/local/samba/bin/nmbd -o
> 
> 
> As you can see nmbd process 1271 has slowly gets larger.  I have tried
> restarting after removing wins.dat but to no avail.
> 
> This is a PDC and the only server on a network with about ten XP clients.
> 'os level' is 65.  The log looks perfectly normal.
> 
> Anyone aware of the cause/solution or any suggestions to troubleshoot?  

Are you running it as a WINS server ? Can you try it with valgrind
and see if it catches any leaks ?

Jeremy.



More information about the samba mailing list