Skip to main content
NetApp Knowledge Base

What is the idle connection timeout value for NFS protocols?

Views:
145
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

Applies to

  • ONTAP 9.5+
  • NFS

Answer

Default timeout is 360 seconds.

  • To show nfs idle connection timeout configuration:

::*> nfs show -fields idle-connection-timeout,allow-idle-connection
vserver       idle-connection-timeout allow-idle-connection
------------- ----------------------- ---------------------
svm1_ontap912 360                     enabled
svm2_ontap912 360                     enabled

 

Note: Since ONTAP 9.12.1+ the option and field is named -allow-idle-connection-timeout 

Additional Information

  • The options were introduced in ONTAP 9.5
  • Since ONTAP 9.11.1 -allow-idle-connection is default for new SVMs (RFE 1431560)
  • To enable and set value, use with advanced privilege:

Example:

::*> nfs option -vserver <VSERVER_NAME> –allow-idle-connection enable -idle-connection-timeout 360

Note: This will only apply to new connections made.

  • There is no best practice as it is environment specific.
  • Lower idle timeout may allow for the affected client(s) or users to recover more quickly
  • Use test environment to find optimal setting

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.