The Samba-Bugzilla – Bug 5853
Limit the number of open files
Last modified: 2009-05-19 06:10:48 UTC
I have a system where users often (unknowingly) have multiple files open, or the same file multiple times (due to clients opening a file with 5 or more threads). I have been looking for an easy way to limit this, but have found no good solution, so I decided to request this feature here.
For clarity: The idea is that each computer connected to the share can open a maximum of X files at the same time. (the computers would all be logged in as guest/nobody)
My apologies if there already is such a limit in samba, or if this feature already has been requested. (In both cases, I couldn't find it).
Please have a look at the "max open files" parameter.
I think that's exactly what you are searching for.
Closing out bug report.
Please re-open if it's still an issue.