Bluehost.com Web Hosting $6.95

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

This is a discussion on [Samba] Too many opened files....samba 3.0.28a within the Samba forums, part of the Networking and Network Related category; An XP client is having an issue with my 3.0.28a server. They do not have this problem on ...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-20-2008
Pappas, Bill
 
Posts: n/a
Default [Samba] Too many opened files....samba 3.0.28a

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?




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

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
  #2 (permalink)  
Old 08-20-2008
Ryan Novosielski
 
Posts: n/a
Default Re: [Samba] Too many opened files....samba 3.0.28a

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pappas, Bill wrote:
> 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?


It depends on your OS. This is likely an OS message. Check Google --
this is a pretty common message.

- --
---- _ _ _ _ ___ _ _ _
|Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer II
|$&| |__| | | |__/ | \| _| |novosirj@umdnj.edu - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIrG3nmb+gadEcsb4RAv7DAKDintUa7JvXO6xicodE+o Z7Oi80bACggT5+
XemBGIyvxhGDtXNmjpRUHzI=
=Wbh/
-----END PGP SIGNATURE-----

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Reply With Quote
  #3 (permalink)  
Old 08-20-2008
Jeremy Allison
 
Posts: n/a
Default Re: [Samba] Too many opened files....samba 3.0.28a

On Wed, Aug 20, 2008 at 01:41:21PM -0500, Pappas, Bill wrote:
> 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.


What platform is Samba running on ?
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
  #4 (permalink)  
Old 08-20-2008
Pappas, Bill
 
Posts: n/a
Default RE: [Samba] Too many opened files....samba 3.0.28a

RHEL 4 U4 EMT64
________________________________________
From: Jeremy Allison [jra@samba.org]
Sent: Wednesday, August 20, 2008 3:26 PM
To: Pappas, Bill
Cc: samba@lists.samba.org
Subject: Re: [Samba] Too many opened files....samba 3.0.28a

On Wed, Aug 20, 2008 at 01:41:21PM -0500, Pappas, Bill wrote:
> 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.


What platform is Samba running on ?


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
  #5 (permalink)  
Old 08-20-2008
Jeremy Allison
 
Posts: n/a
Default 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.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
  #6 (permalink)  
Old 08-20-2008
Pappas, Bill
 
Posts: n/a
Default RE: [Samba] Too many opened files....samba 3.0.28a

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, manyfiles.

I appreciate your help.

Thanks,
bp
________________________________________
From: Jeremy Allison [jra@samba.org]
Sent: Wednesday, August 20, 2008 3:31 PM
To: Pappas, Bill
Cc: Jeremy Allison; samba@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.


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
  #7 (permalink)  
Old 08-21-2008
Ray Anderson
 
Posts: n/a
Default Re: RE: [Samba] Too many opened files....samba 3.0.28a

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@samba.org]
> Sent: Wednesday, August 20, 2008 3:31 PM
> To: Pappas, Bill
> Cc: Jeremy Allison; samba@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.
>
>


>


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 01:23 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0