Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 2020 19:21:29 +0100
From:      Andrea Venturoli <ml@netfence.it>
To:        freebsd-questions@freebsd.org
Subject:   UFS filesystem hanged due to extattr
Message-ID:  <45b8ee58-b625-b3c8-8b53-07e4008c9db0@netfence.it>

Next in thread | Raw E-Mail | Index | Archive | Help
Hello.

On a box of mine I tried tweaking Samba to use extended attributes (I 
think the details here are irrelevant and possible source of another 
discussion on the Samba lists).

Everything worked fine until an user tried to access a particular 
directory: at that point his (Mac) client would crash and I ended up 
with a smbd process taking 100% of CPU time.
Such process was unkillable by any mean and even a system reboot would 
not succeed (only the reset button did its job).

After reboot I unmounted that filesystem, disabled soft update 
journaling and issued an "fsck -y" just to be sure: the file system 
showed no sign of troubles.

Yet, accessing the extended attributes of a file inside that specific 
directory ends up in the same way.
I.e.:
Something like:
  find {dir} -exec lsextattr user "{}" ";"
will end up with a process:
  lsextattr user {file}
taking 100% cpu and not willing to die in any way.

Any suggestion?

  bye & Thanks
	av.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?45b8ee58-b625-b3c8-8b53-07e4008c9db0>