SMB: Processes do not exit when accessing an unresponsive SMB server

Solution Verified - Updated -

Issue

  • Processes accessing a SMBv1.0 share never exit even though soft is a mount option instead they go into a sleep state and can be killed.
  • Previously, the process would exit on its own within 120 seconds
  • Processes accessing a SMBv2/3 share exit the first time, but subsequently never exit when accessed a second time. The process goes into a sleep state and can be killed.
  • Previously, the process would exit within 10 seconds.
  • Should the SMB client reconnect to the SMB server, the existing running process will go into "D" state and can not be killed.

Environment

  • SMB
  • SMB2/3
  • kernel-4.18.0-147.el8 and later
  • soft mounted share

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content