Bug 240467

Summary: nfsuserd usermax limited to 100k users
Product: Base System Reporter: Peter Eriksson <pen>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed Not A Bug    
Severity: Affects Only Me    
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   

Description Peter Eriksson 2019-09-10 06:53:59 UTC
Our AD environment currently has 120k users (growing around 10-20k/year). 

The nfsuserd "-usermax" command line switch is compile-time limited to 100000 (100k).

It would be great if this arbitrary limit could be increased to something like 500k or so... Or removed, or only checked if set to something other than 0.

And shouldn't nfsuserd print an error if it runs into this limit? The way I read the code it now just silently gives up on adding users to the kernel cache...

- Peter
Comment 1 Peter Eriksson 2020-05-07 14:27:28 UTC
I'm closing this. It's not a big problem.
- Peter