Bug 240467 - nfsuserd usermax limited to 100k users
Summary: nfsuserd usermax limited to 100k users
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-10 06:53 UTC by Peter Eriksson
Modified: 2019-09-10 06:53 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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