I setup a samba server with a homes share on it for about 100 users (made it a member server on a NT domain). The problem is that when users copy files to it (Win98 /98SE clients), smbd sucks up memory like a vacuum and when the user logs off, smbddoesn’t give the memory back (the load on the machine never goes past 0.15). The server (running RH 6.2 and samba 2.0.7) has 320MB of pshysical RAM and 640MB of swap and every day it seems smbd sucks up enough RAM to hit the swap. There aren’t anyother processes running on it except SSH2D and HTTPD (apache). I use SSH2 to log into the server and HTTPD locally with SWAT to check on the shares besides using smbstatus. Is there any way to stop having samba eat up the RAM. I know that smbd takes up 2mb of RAM by itself and that each client connecting eats up 768k so in theory it should only use about 100MB tops of RAM and not close to 500.
Tracy