Skip to main content
NetApp Knowledge Base

ONTAP API error: "Could not create path, error = System.IO.IOException: The system cannot open the file."

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

Applies to

  • SMB2.X/3.X
  • ONTAP 9.2X
  • Multiple files open

Issue

  • Error from NetApp API: "NetAppRestAPIImpl->GetPathForProduct: Could not create path, error = System.IO.IOException: The system cannot open the file"
  • Opening and closing files takes longer than expected
  • sktraces logs show rt=379 (RESULT_ERROR_CIFS_SMB_FILE_LIMIT_EXCEEDED):

                ... NBLADE_Chk:  n0x80bdae: src/Protocols/Cifs/FrameWork/Connection.cpp:1148 rt=379

  • "vserver cifs session show"  command shows 524287 open files on a single cifs connection. Example:

                Node: <Node_Name>

                Vserver: <Vserver_Name>

                Connection Session Open Idle Connection

                ID ID Workstation Windows User Files Time Count

                ---------- ------- ---------------- ---------------- --------- ------------ ---------------

                ...

                192.168.1.42 DOMAIN\User1 524287

                ...

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

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.