Print this page
    
Bump XML versions per Gordon
7651 default maximum nfs server threads is insufficient
    
      
        | Split | 
	Close | 
      
      | Expand all | 
      | Collapse all | 
    
    
          --- old/usr/src/cmd/fs.d/nfs/svc/nlockmgr.xml
          +++ new/usr/src/cmd/fs.d/nfs/svc/nlockmgr.xml
   1    1  <?xml version="1.0"?>
   2    2  <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
   3    3  <!--
   4    4   CDDL HEADER START
   5    5  
   6    6   The contents of this file are subject to the terms of the
   7    7   Common Development and Distribution License (the "License").
   8    8   You may not use this file except in compliance with the License.
   9    9  
  10   10   You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  11   11   or http://www.opensolaris.org/os/licensing.
  12   12   See the License for the specific language governing permissions
  13   13   and limitations under the License.
  14   14  
  15   15   When distributing Covered Code, include this CDDL HEADER in each
  16   16   file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  17   17   If applicable, add the following below this CDDL HEADER, with the
  18   18   fields enclosed by brackets "[]" replaced with your own identifying
  19   19   information: Portions Copyright [yyyy] [name of copyright owner]
  20   20  
  21   21   CDDL HEADER END
  22   22  
  23   23          Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
  24   24          Copyright (c) 2012, 2015 by Delphix. All rights reserved.
  25   25  
  26   26          NOTE:  This service manifest is not editable; its contents will
  27   27          be overwritten by package or patch operations, including
  28   28          operating system upgrade.  Make customizations in a different
  29   29          file.
  30   30  
  
    | 
      ↓ open down ↓ | 
    30 lines elided | 
    
      ↑ open up ↑ | 
  
  31   31          Note: if this service is modified to consist of anything other
  32   32          than a single instance named 'default', you must make changes to
  33   33          $SRC/head/rpcsvc/daemon_utils.h and libnsl:open_daemon_lock().
  34   34  -->
  35   35  
  36   36  <service_bundle type='manifest' name='SUNWnfscr:nfs-nlockmgr'>
  37   37  
  38   38  <service
  39   39          name='network/nfs/nlockmgr'
  40   40          type='service'
  41      -        version='1'>
       41 +        version='2'>
  42   42  
  43   43          <dependency name='network'
  44   44              grouping='require_any'
  45   45              restart_on='error'
  46   46              type='service'>
  47   47                  <service_fmri value='svc:/milestone/network' />
  48   48          </dependency>
  49   49  
  50   50          <dependency name='rpcbind'
  51   51              grouping='require_all'
  52   52              restart_on='restart'
  53   53              type='service'>
  54   54                  <service_fmri value='svc:/network/rpc/bind' />
  55   55          </dependency>
  56   56  
  57   57          <dependency name='status'
  58   58              grouping='require_all'
  59   59              restart_on='error'
  60   60              type='service'>
  61   61                  <service_fmri value='svc:/network/nfs/status' />
  62   62          </dependency>
  63   63  
  64   64          <dependency name='filesystem-minimal'
  65   65              grouping='require_all'
  66   66              restart_on='error'
  67   67              type='service'>
  68   68                  <service_fmri value='svc:/system/filesystem/minimal' />
  69   69          </dependency>
  70   70  
  71   71          <exec_method
  72   72              type='method'
  73   73              name='start'
  74   74              exec='/lib/svc/method/nlockmgr'
  75   75              timeout_seconds='300' />
  76   76  
  77   77          <exec_method
  78   78              type='method'
  79   79              name='stop'
  80   80              exec=':kill'
  81   81              timeout_seconds='60' />
  82   82  
  83   83          <property_group name='firewall_context' type='com.sun,fw_definition'>
  84   84                  <propval name='isrpc' type='boolean' value='true' />
  85   85                  <propval name='name' type='astring' value='nlockmgr' />
  86   86                  <propval name='ipf_method' type='astring'
  87   87                          value='/lib/svc/method/nfs-server ipfilter' />
  88   88          </property_group>
  
    | 
      ↓ open down ↓ | 
    37 lines elided | 
    
      ↑ open up ↑ | 
  
  89   89  
  90   90          <property_group name='application' type='framework'>
  91   91                  <stability value='Evolving' />
  92   92                  <propval name='auto_enable' type='boolean' value='true' />
  93   93          </property_group>
  94   94          <instance name='default' enabled='false'>
  95   95            <property_group name='nfs-props' type='com.oracle.nfs,props'>
  96   96              <propval name='grace_period' type='integer' value='90'/>
  97   97              <propval name='lockd_listen_backlog' type='integer' value='32'/>
  98   98              <propval name='lockd_retransmit_timeout' type='integer' value='5'/>
  99      -            <propval name='lockd_servers' type='integer' value='20'/>
       99 +            <propval name='lockd_servers' type='integer' value='256'/>
 100  100            </property_group>
 101  101          </instance>
 102  102          <stability value='Stable' />
 103  103  
 104  104          <template>
 105  105                  <common_name>
 106  106                          <loctext xml:lang='C'>
 107  107                                  NFS lock manager
 108  108                          </loctext>
 109  109                  </common_name>
 110  110                  <documentation>
 111  111                          <manpage title='lockd' section='1M'
 112  112                                  manpath='/usr/share/man' />
 113  113                  </documentation>
 114  114          </template>
 115  115  </service>
 116  116  
 117  117  </service_bundle>
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX