`<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Dec 10, 2013, at 4:01 PM, Tom Robinson <<a href="mailto:tom.robinson@motec.com.au">tom.robinson@motec.com.au</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">OmniOS v11 r151006<br><br>Hi,<br><br>I'm having many stability/performance issues with NFS. Server end is OmniOS; client end is CentOS 5.<br><br>When the server end is functioning, I can mount OK, but there are really long waits on simple things<br>like listing a directory. Often I will get an I/O error. I have been using NFS4 but I'm thinking I<br>should just configure the server/client maximum to NFS3.<br><br>Currently the NFS server is hosed. This happened yesterday as well. The only way I could bring it<br>back to life was to reboot the hardware; something I want to avoid. Is there a way to tidy up the<br>network/nfs/server without rebooting?<br></blockquote><div><br></div><div>None of these settings are your problem. Look elsewhere, the domain name is a good starting point for</div><div>NFSv4. </div><div> -- richard</div><br><blockquote type="cite"><br>I had these settings:<br># sharectl get nfs<br>servers=16<br>lockd_listen_backlog=32<br>lockd_servers=20<br>lockd_retransmit_timeout=5<br>grace_period=90<br>server_versmin=2<br>server_versmax=4<br>client_versmin=2<br>client_versmax=4<br>server_delegation=on<br>nfsmapid_domain=<br>max_connections=-1<br>protocol=ALL<br>listen_backlog=32<br>device=<br><br>But after reading this: <a href="http://virtuallyhyper.com/2013/04/installing-and-configuring-omnios/">http://virtuallyhyper.com/2013/04/installing-and-configuring-omnios/</a><br>I have changed to these settings to try to improve responsiveness under load:<br><br># sharectl get nfs<br>servers=512<br>lockd_listen_backlog=256<br>lockd_servers=128<br>lockd_retransmit_timeout=5<br>grace_period=90<br>server_versmin=2<br>server_versmax=3<br>client_versmin=2<br>client_versmax=3<br>server_delegation=on<br>nfsmapid_domain=<br>max_connections=-1<br>protocol=ALL<br>listen_backlog=32<br>device=<br><br>The problem is I can't re-enable the service and I don't want to reboot to have to fix this.<br><br># svcs -a | grep -e nfs -e rpc<br>disabled 17:24:56 svc:/network/nfs/cbd:default<br>disabled 17:24:56 svc:/network/nfs/client:default<br>disabled 17:24:57 svc:/network/nfs/log:default<br>disabled 17:27:55 svc:/network/rpc/meta:default<br>disabled 17:27:55 svc:/network/rpc/metamh:default<br>disabled 17:27:55 svc:/network/rpc/rex:default<br>disabled 17:27:55 svc:/network/rpc/metamed:default<br>disabled 17:27:55 svc:/network/rpc/mdcomm:default<br>online 17:25:55 svc:/network/rpc/bind:default<br>online 17:25:56 svc:/network/rpc/keyserv:default<br>online 17:25:56 svc:/network/nfs/status:default<br>online 17:27:55 svc:/network/nfs/mapid:default<br>online 17:27:56 svc:/network/rpc/gss:default<br>online 17:27:56 svc:/network/rpc/smserver:default<br>online 17:27:56 svc:/network/nfs/rquota:default<br>online* 10:05:07 svc:/network/nfs/server:default<br>online 10:32:20 svc:/network/nfs/nlockmgr:default<br><br><br># svcs -xv network/nfs/server<br>svc:/network/nfs/server:default (NFS server)<br> State: online since 11 December 2013 10:05:07 AM EST<br> See: man -M /usr/share/man -s 1M nfsd<br> See: /var/svc/log/network-nfs-server:default.log<br>Impact: None.<br><br># svcs -vl network/nfs/server<br>fmri svc:/network/nfs/server:default<br>name NFS server<br>enabled true<br>state online<br>next_state offline<br>state_time 11 December 2013 10:05:07 AM EST<br>logfile /var/svc/log/network-nfs-server:default.log<br>restarter svc:/system/svc/restarter:default<br>contract_id 96<br>dependency require_any/error svc:/milestone/network (online)<br>dependency require_all/error svc:/network/nfs/nlockmgr (online)<br>dependency optional_all/error svc:/network/nfs/mapid (online)<br>dependency require_all/restart svc:/network/rpc/bind (online)<br>dependency optional_all/none svc:/network/rpc/keyserv (online)<br>dependency optional_all/none svc:/network/rpc/gss (online)<br>dependency optional_all/none svc:/network/shares/group (multiple)<br>dependency optional_all/none svc:/system/filesystem/reparse (online)<br>dependency require_all/error svc:/system/filesystem/local (online)<br><br># svcs -vp network/nfs/server<br>STATE NSTATE STIME CTID FMRI<br>online offline 10:05:07 96 svc:/network/nfs/server:default<br> 17:27:56 692 nfsd<br> 10:05:07 1123 nfs-server<br> 10:05:07 1134 sharemgr<br><br># ps -elf | grep -e share -e nfs -e rpc<br> 0 S daemon 465 1 0 40 20 ? 796 ? 17:25:56 ? 0:00<br>/usr/sbin/rpcbind<br> 0 S daemon 582 1 0 40 20 ? 1554 ? 17:27:56 ? 0:00<br>/usr/lib/nfs/nfsmapid<br> 0 S daemon 545 1 0 40 20 ? 758 ? 17:25:57 ? 0:00<br>/usr/lib/nfs/statd<br> 0 S daemon 692 1 0 39 0 ? 732 ? 17:27:56 ? 5:27<br>/usr/lib/nfs/nfsd<br> 0 S root 1123 10 0 40 20 ? 946 ? 10:05:08 ? 0:00 /sbin/sh<br>/lib/svc/method/nfs-server<br> 0 S root 1134 1123 0 40 20 ? 1607 ? 10:05:08 ? 0:00<br>/usr/sbin/sharemgr stop -P nfs -a<br> 0 S root 1462 1318 0 50 20 ? 578 ? 11:00:43 pts/4 0:00 grep -e<br>share -e nfs -e rpc<br> 0 S daemon 1274 1 0 39 0 ? 713 ? 10:32:20 ? 0:00<br>/usr/lib/nfs/lockd<br><br>/var/svc/log/network-nfs-server:default.log<br>[ Dec 11 10:05:07 Stopping because service restarting. ]<br>[ Dec 11 10:05:07 Executing stop method ("/lib/svc/method/nfs-server stop 96"). ]<br><br>I'm really stuck. Any assistance is much appreciated.<br><br>Kind regards,<br>Tom<br><br>-- <br><br>Tom Robinson<br>IT Manager/System Administrator<br><br>MoTeC Pty Ltd<br><br>121 Merrindale Drive<br>Croydon South<br>3136 Victoria<br>Australia<br><br>T: +61 3 9761 5050<br>F: +61 3 9761 5051 <br>E: <a href="mailto:tom.robinson@motec.com.au">tom.robinson@motec.com.au</a><br><br><br>_______________________________________________<br>OmniOS-discuss mailing list<br><a href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.com</a><br>http://lists.omniti.com/mailman/listinfo/omnios-discuss<br></blockquote></div><br><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">--</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><a href="mailto:Richard.Elling@RichardElling.com">Richard.Elling@RichardElling.com</a><br>+1-760-896-4422<br><br><br></div></span></div></span></div></span></div></span></div>
</div>
<br></body></html>`