ONTAP Discussions

The CIFS session is not disconnected even if the session timeout time is exceeded.

nsky

Hi,

 

The session timeout time is the default setting of 900 seconds, but the CIFS session is not disconnected even if the session timeout time is exceeded.
The status of the session is described below.


node1::> vserver cifs session show -node node1-01 -vserver fa1 -fields connected-time ,shares ,idle-time
node vserver session-id connection-id shares connected-time idle-time
----------- -------- ---------- ------------- ------ --------------- ---------
node1-01 fa1 1 556762990 2 80d 21h 12m 38s 11m 59s
node1-01 fa1 1 556791772 1 80d 20h 54m 15s 54m 31s <= Not Disconnected
node1-01 fa1 1 557037550 2 80d 18h 52m 13s 33m 26s
node1-01 fa1 1 566578534 3 76d 16h 50m 53s 20m 11s
node1-01 fa1 1 582828033 3 69d 18h 8m 58s 1m 39s
node1-01 fa1 1 594048102 3 66d 2h 7m 48s 21h 13m 32s
node1-01 fa1 1 619430808 2 56d 3h 56m 39s 1h 27m 5s
node1-01 fa1 1 661124148 1 41d 22h 4m 47s 18h 9m 10s <= Not Disconnected
node1-01 fa1 1 664379293 5 40d 10h 23m 43s 11m 27s
node1-01 fa1 1 692150695 2 31d 12h 17m 35s 14m 13s
node1-01 fa1 1 694344344 1 30d 18h 55m 46s 20m 56s <= Not Disconnected
node1-01 fa1 1 699788546 2 28d 21h 2m 4s 1m 18s
node1-01 fa1 1 699884897 2 28d 17h 24m 58s 7m 19s
node1-01 fa1 1 701954018 3 28d 2h 35m 52s 17m 35s
node1-01 fa1 1 702194541 2 28d 0h 39m 51s 5m 36s
node1-01 fa1 1 705135275 2 27d 1h 19m 55s 54m 5s
node1-01 fa1 1 711150051 2 25d 10h 14m 59s 4m 21s
~(omitted)~
node1::>

The following knowledge states that if the number of shares is one, it will be disconnected, but it was not disconnected.

 

https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/Why_does_vserver_cifs_session_show_show_sessions_with_long-running_idl... 

 

The version of ONTAP I'm using is ONTAP 8.3 P3.
In this version, isn't it disconnected even if the idle timeout time is exceeded?

Why isn't the session disconnected ?

 

Regards,

 

1 ACCEPTED SOLUTION

Mjizzini

if you will upgrade to 9.7 p8 or higher ONTAP Should Idle Out CIFS Connections and Sessions with Open Shares but no Open Files in Both Multichannel and Non-multichannel Scenario

 

View solution in original post

2 REPLIES 2

Mjizzini

if you will upgrade to 9.7 p8 or higher ONTAP Should Idle Out CIFS Connections and Sessions with Open Shares but no Open Files in Both Multichannel and Non-multichannel Scenario

 

Hi, Mjizzini

 

Thank you for your reply.

As you told me, when I checked the number of File Open, it was opening the file.

 

Node Vserver Session ID Connection ID Open Shares Open Files Connected Time Idle Time
node-01 fa1 1 661124148 1 1 42d 21h 12m 2s 26m 35s
node-01 fa1 1 808398530 1 1 30m 55s 29m 54s
node-01 fa1 1 808082998 1 1 2h 24m 57s 1m 22s
node-01 fa1 1 808405294 1 1 26m 7s 25m 25s
~(omitted)~

 

Thanks to you, I understand why I don't time out idle.

 

My Best Regards,

nsky

 

Public