Problem
What are the maximum values for the NSTRPAGES, NCLIST and MAX_FLCKREC kernel parameters?
Solution
The memory for file lock records is allocated out of the
same area of memory that is used for streams buffers and
tty clists. The upper limit on the size of this area is
approximately 60 Megabytes (or 62914560 bytes).The total memory which could be allocated for streams buffers, clists and lock records cannot exceed 60 Megabytes.
Streams buffers are allocated in units of 4096 byte pages, clists are 70 bytes each, and lock records are 64 bytes each, so:
(NSTRPAGES * 4096) + (NCLIST * 70) + (MAX_FLCKREC * 64) <= 62914560