From: Justin Piszcz on
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.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba