Bug #1659
Move warnings about nrnode calculation to system log
Start date:
2011-10-17
Due date:
% Done:
0%
Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Description
Sometimes (usually it's a memory question) the following notices appears on the server console:
...
NOTICE: setting nrnode to max value of 351642
NOTICE: setting nrnode to max value of 235577
...
The messages are from
usr/src/uts/common/fs/nfs/nfs4_rnode.c:
if (nrnode <= 0)
nrnode = ncsize;
nrnode4_max = (ulong_t)((kmem_maxavail() >> 2) / sizeof (struct rnode4));
if (nrnode > nrnode4_max || (nrnode 0 && ncsize 0)) {
zcmn_err(GLOBAL_ZONEID, CE_NOTE,
"setting nrnode to max value of %ld", nrnode4_max);
nrnode = nrnode4_max;
and usr/src/uts/common/fs/nfs/nfs_subr.c (with nrnode_max)
For NexentaStor we've removed this warning from the console (for nrnode4_max) and move it to system log only
History
Updated by Gordon Ross about 8 years ago
- Status changed from New to Resolved
- Difficulty changed from Medium to Bite-size
changeset: 13510:1b2b756684eb tag: tip user: Alexander Eremin <a.eremin@nexenta.com> date: Tue Nov 08 13:15:34 2011 +0300 description: 1659 Move warnings about nrnode calculation to system log Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Michael Tsymbalyuk <mtzaurus@gmail.com> Reviewed by: Dan Kruchinin <dkruchinin@acm.org> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Gordon Ross <gwr@nexenta.com> modified: usr/src/uts/common/fs/nfs/nfs4_rnode.c usr/src/uts/common/fs/nfs/nfs_subr.c