Hi, 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. Regards,
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
On Thu, Nov 13, 2008 at 06:05:48PM +0700, FC Mario Patty wrote:> Thank you. I tried redirecting with '>' first but got not much of the log. > Here are the result with --log-file option. Thanx again.Hmmmm. This does not show any memory leaks. Is this really smbd that is eating memory? Did you check with top? You can sort by memory usage by typing "Oq" in top. 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/234cc1d7/attachment.bin