System: Atom 330, 2Gig RAM, no swap, Raid 5 (mdadm) with LVM, Ubuntu Jaunty (RC) 64bit (AMD), samba 3.3.2. Problem: using top to monitor memory use I can see that every file I transfer to the samba server increases the total memory used by the size of the file being transferred. Memory is never released, and if I transfer a very large file, the whole system will crash. The smbd process itself is not using the memory, but overall system memory is consumed for every file transfer. The memory is not released after the transfer. I do not have any swap configured (this is intentional), but with 2G memory, this should not be a problem for this file-server environment. I have rebuilt, re-installed etc but have the same error every time. Please let me know what further diagnostics are required and I will happily run them / supply information.
Please post your smb.conf. Can you post the output of smbcontrol <pid> pool-usage for such a large smbd? If that does now show anything, we'll ask you to run smbd under valgrind --tool=memcheck.... Thanks, Volker
Closing upon reporter's request