[Samba] Too many opened files....samba 3.0.28a

Ray Anderson rsa at rb-com.com
Thu Aug 21 13:27:45 GMT 2008


Pappas, Bill wrote:
> Ok.  I matched /proc/sys/fs/file-max (i.e 1,000,000) to the "max open files" parameter in smb.conf.
> 
> This did the trick.
> 
> Apparently an application on a CIFS client (running WINXP) opens many, many files.
> 
> I appreciate your help.

I had this problem also with a rogue XP client and Microsloth Outlook. 
Fixed by upgrading to 3.0.29 without altering any file system parameters.

I do not know what the default max open files param is but I do not have 
that set in my smb.conf, and cat /proc/sys/fs/file-max yields 50776.

This is on a Fedora 3 machine 2.6.12-2.3.legacy_FC3smp #1 SMP Sun Feb 19 
08:53:09 EST 2006 i686 i686 i386 GNU/Linux that has a pretty long uptime
  06:26:47 up 228 days, 22:43,  1 user,  load average: 0.18, 0.06, 0.01

Cheers,

Ray


> 
> Thanks,
> bp
> ________________________________________
> From: Jeremy Allison [jra at samba.org]
> Sent: Wednesday, August 20, 2008 3:31 PM
> To: Pappas, Bill
> Cc: Jeremy Allison; samba at lists.samba.org
> Subject: Re: [Samba] Too many opened files....samba 3.0.28a
> 
> On Wed, Aug 20, 2008 at 03:27:35PM -0500, Pappas, Bill wrote:
>> RHEL 4 U4 EMT64
> 
> Ok, take a look inside /proc for all the existing smbd
> processes and see if any of them have an outrageous
> number of open file descriptors.
> 
> Jeremy.
> 
> 

> 



More information about the samba mailing list