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

Pappas, Bill Bill.Pappas at STJUDE.ORG
Wed Aug 20 18:41:21 GMT 2008

An XP client is having an issue with my 3.0.28a server. They do not have this problem on a native w2003 file server with the same amount of data.

[2008/08/20 13:25:14, 5] smbd/dir.c:OpenDir(1079)
  OpenDir: Can't open DowningShotgun/DowningTest/DowningTest.files/sample. Too many open files
[2008/08/20 13:25:14, 3] smbd/filename.c:scan_directory(586)
  scan dir didn't open dir [DowningShotgun/DowningTest/DowningTest.files/sample]
[2008/08/20 13:25:14, 3] smbd/error.c:error_packet_set(106)
  error packet at smbd/nttrans.c(649) cmd=162 (SMBntcreateX) NT_STATUS_TOO_MANY_OPENED_FILES

I adjusted the "max open files" parameter in smb.conf to 1,000,000 files:

        max open files = 1000000

Let me ask you this...is this max count tied to each smbd process or is this an aggregate number bound to all smbd processes?

Bill Pappas -
Enterprise Network Storage Architect
St. Jude Children's Research Hospital
332 North Lauderdale
Memphis, TN 38105

More information about the samba mailing list