[Samba] samba 3.4.2-1: ERROR! Out of file structures

Justin Piszcz jpiszcz at lucidpixels.com
Tue Nov 17 11:35:42 MST 2009


Hello,

When performing a lot of file I/O on a samba share, I see the following:

Nov 15 16:01:47 l1 smbd[31472]:   ERROR! Out of file structures 
Nov 15 16:01:49 l1 smbd[31472]: [2009/11/15 16:01:49,  0] smbd/files.c:61(file_new) 
Nov 15 16:01:49 l1 smbd[31472]:   ERROR! Out of file structures 
Nov 15 16:01:49 l1 smbd[31472]: [2009/11/15 16:01:49,  0] smbd/files.c:61(file_new) 
Nov 15 16:01:49 l1 smbd[31472]:   ERROR! Out of file structures 
Nov 15 16:01:49 l1 smbd[31472]: [2009/11/15 16:01:49,  0] smbd/files.c:61(file_new) 
Nov 15 16:01:49 l1 smbd[31472]:   ERROR! Out of file structures 
Nov 15 16:01:49 l1 smbd[31472]: [2009/11/15 16:01:49,  0] smbd/files.c:61(file_new) 
Nov 15 16:01:49 l1 smbd[31472]:   ERROR! Out of file structures 
Nov 15 16:01:49 l1 smbd[31472]: [2009/11/15 16:01:49,  0] smbd/files.c:61(file_new) 
Nov 15 16:01:49 l1 smbd[31472]:   ERROR! Out of file structures

Is the proper fix to, e.g.:
ulimit -n 32768 before starting samba?

Or is there a samba-specific option that should be used instead?

Justin.


More information about the samba mailing list