Why does the warning "Too many open files" appear when mounting NAS share on a Linux server via SMB or CIFS?


최신 업데이트일: 2023-04-12

Applicable Products

  • QTS
  • QuTS hero
  • SMB (Microsoft Networking)
  • CIFS

Symptom

When using a Linux-based system to mount a NAS share via Samba networking or Common Internet File System (CIFS), the OS displays the warning "Too many open files" during file or folder creation.

Solution

A known Linux kernel bug named "file descriptor leak" causes this error in Linux kernel 4.19-5.9, when Samba connections cannot be closed correctly.

Method 1

  1. Log in to QTS or QuTS hero.
  2. Open Control Panel.
  3. Go to Network & File Services > Win/Mac/NFS/WebDAV.
  4. Go to Microsoft Networking.
  5. Click Advanced Options.
  6. Select SMB 1 (least secure)as the lowest SMB version.
    Warning
    • SMB v1 has several known security vulnerabilities.
    • SMB v1 is disabled by default.
  7. Click Apply to save the settings and close the window.
  8. Click Apply.
  9. Configure the Linux client to mount the NAS share using SMBv1.

Method 2

Upgrade or downgrade the Linux kernel to a version other than 4.19-5.9.

Further Reading

이 기사가 도움이 되었습니까?

100% 의 사용자들이 도움이 된다고 생각할 것입니다.
피드백을 주셔서 감사드립니다.

이 기사가 어떻게 개선될 수 있을지 말해 주십시오.

추가 피드백을 제공하려면 아래에 포함하십시오.

사양 선택

      더 보기 적게 보기

      다른 국가/지역 사이트:

      open menu
      back to top