[Samba] Samba memory usage - how big is it?
Volker Lendecke
Volker.Lendecke at SerNet.DE
Thu Nov 13 07:55:39 GMT 2008
On Thu, Nov 13, 2008 at 02:00:06PM +0700, FC Mario Patty wrote:
> I'd upgraded samba to v3.0.32 last Sunday before our samba server started to
> hang. Every day we have to restart our server 2-3 times (today I just
> restart it once). I can see via System Monitor that 33 of our users each
> (pid) consume 13.6Mb (average) of memory. Our server only have 1Gb of RAM
> but usually it runs very well (except that we've already moved solidworks
> engineer to work with our samba server now). With the 'top' command I can
> see the total usage of memory come near to 1Gb. Is it normal that we have to
> add more RAM or maybe I can do something to tune it to run more fluently.
> Thank you very much.
No, that sounds like a memleak. 13.6MB is way too much, I
would expect more like 3-5MB.
First shot: Can you issue a
smbcontrol <smbd-pid> pool-usage
where <smbd-pid> is the process ID of such a large smbd, and
send the output?
Thanks,
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20081113/bea25a5e/attachment.bin
More information about the samba
mailing list