lejeczek
2019-Oct-07 10:52 UTC
[Gluster-users] major problems with Samba - 0-md-cache: xattr key trusted.afr.GROUP_WORK-client-3 doesn't satisfy caching requirements & Buffer overflow of a buffer whose size limit is 5. About to flush least recently used log message to disk
hi everyone, I do not suppose it is a matter of tweaking Gluster(or Samba) as these problems I think started appearing after upgrade of Samba (samba-4.9.1-6.el7.x86_64) and/or Gluster(glusterfs-6.5-1.el7.x86_64) How it manifests it that Samba operations that a user performs are incredibly slow. To create a new file(via right-click in Windows) takes more then dozen of seconds, sometimes fails, the same with renaming files, etc. At the same time I samba's part of glusterfs log I see: ... [2019-10-07 10:42:02.252880] D [logging.c:2006:_gf_msg_internal] 0-logging-infra: Buffer overflow of a buffer whose size limit is 5. About to flush least recently used log message to disk The message "T [MSGID: 0] [md-cache.c:678:is_mdc_key_satisfied] 0-md-cache: xattr key glusterfs.parent-entrylk doesn't satisfy caching requirements" repeated 4 times between [2019-10-07 10:42:02.252788] and [2019-10-07 10:42:02.252874] [2019-10-07 10:42:02.252878] T [MSGID: 0] [md-cache.c:678:is_mdc_key_satisfied] 0-md-cache: xattr key trusted.glusterfs.dht doesn't satisfy caching requirements [2019-10-07 10:42:02.252981] D [logging.c:2006:_gf_msg_internal] 0-logging-infra: Buffer overflow of a buffer whose size limit is 5. About to flush least recently used log message to disk The message "T [MSGID: 0] [md-cache.c:678:is_mdc_key_satisfied] 0-md-cache: xattr key trusted.glusterfs.dht doesn't satisfy caching requirements" repeated 4 times between [2019-10-07 10:42:02.252878] and [2019-10-07 10:42:02.252974] [2019-10-07 10:42:02.252978] T [MSGID: 0] [md-cache.c:678:is_mdc_key_satisfied] 0-md-cache: xattr key trusted.afr.GROUP_WORK-client-3 doesn't satisfy caching requirements [2019-10-07 10:42:02.253059] D [logging.c:2006:_gf_msg_internal] 0-logging-infra: Buffer overflow of a buffer whose size limit is 5. About to flush least recently used log message to disk The message "T [MSGID: 0] [md-cache.c:678:is_mdc_key_satisfied] 0-md-cache: xattr key trusted.afr.GROUP_WORK-client-3 doesn't satisfy caching requirements" repeated 4 times between [2019-10-07 10:42:02.252978] and [2019-10-07 10:42:02.253052] [2019-10-07 10:42:02.253056] T [MSGID: 0] [md-cache.c:678:is_mdc_key_satisfied] 0-md-cache: xattr key link-count doesn't satisfy caching requirements [2019-10-07 10:42:02.253140] D [logging.c:2006:_gf_msg_internal] 0-logging-infra: Buffer overflow of a buffer whose size limit is 5. About to flush least recently used log message to disk The message "T [MSGID: 0] [md-cache.c:678:is_mdc_key_satisfied] 0-md-cache: xattr key link-count doesn't satisfy caching requirements" repeated 4 times between [2019-10-07 10:42:02.253056] and [2019-10-07 10:42:02.253131] [2019-10-07 10:42:02.253138] T [MSGID: 0] [md-cache.c:792:mdc_inode_xatt_set] 0-md-cache: xatt cache set for (00000000-0000-0000-0000-000000000001) time:1570444922 I'm going to try to tweak vol's some opts/features but I'd appreciate suggestions & thoughts. Many thanks, L. -------------- next part -------------- A non-text attachment was scrubbed... Name: pEpkey.asc Type: application/pgp-keys Size: 1757 bytes Desc: not available URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20191007/75cc8dec/attachment.bin>
On Mon, 2019-10-07 at 11:52 +0100, lejeczek wrote:> hi everyone, > > I do not suppose it is a matter of tweaking Gluster(or Samba) as > these > problems I think started appearing after upgrade of Samba > (samba-4.9.1-6.el7.x86_64) and/or Gluster(glusterfs-6.5-1.el7.x86_64)Can you paste the output of `testparm -s`?> How it manifests it that Samba operations that a user performs are > incredibly slow. To create a new file(via right-click in Windows) > takes more then dozen of seconds, sometimes fails, the same with > renaming files, etc. > > At the same time I samba's part of glusterfs log I see: > > [2019-10-07 10:42:02.252880] D [logging.c:2006:_gf_msg_internal] > 0-logging-infra: Buffer overflow of a buffer whose size limit is 5. > About to flush least recently used log message to disk > The message "T [MSGID: 0] [md-cache.c:678:is_mdc_key_satisfied] > 0-md-cache: xattr key glusterfs.parent-entrylk doesn't satisfy > caching > requirements" repeated 4 times between [2019-10-07 10:42:02.252788] > and > [2019-10-07 10:42:02.252874] > [2019-10-07 10:42:02.252878] T [MSGID: 0] > [md-cache.c:678:is_mdc_key_satisfied] 0-md-cache: xattr key > trusted.glusterfs.dht doesn't satisfy caching requirements > [2019-10-07 10:42:02.252981] D [logging.c:2006:_gf_msg_internal] > 0-logging-infra: Buffer overflow of a buffer whose size limit is 5. > About to flush least recently used log message to disk > The message "T [MSGID: 0] [md-cache.c:678:is_mdc_key_satisfied] > 0-md-cache: xattr key trusted.glusterfs.dht doesn't satisfy caching > requirements" repeated 4 times between [2019-10-07 10:42:02.252878] > and > [2019-10-07 10:42:02.252974] > [2019-10-07 10:42:02.252978] T [MSGID: 0] > [md-cache.c:678:is_mdc_key_satisfied] 0-md-cache: xattr key > trusted.afr.GROUP_WORK-client-3 doesn't satisfy caching requirements > [2019-10-07 10:42:02.253059] D [logging.c:2006:_gf_msg_internal] > 0-logging-infra: Buffer overflow of a buffer whose size limit is 5. > About to flush least recently used log message to disk > The message "T [MSGID: 0] [md-cache.c:678:is_mdc_key_satisfied] > 0-md-cache: xattr key trusted.afr.GROUP_WORK-client-3 doesn't satisfy > caching requirements" repeated 4 times between [2019-10-07 > 10:42:02.252978] and [2019-10-07 10:42:02.253052] > [2019-10-07 10:42:02.253056] T [MSGID: 0] > [md-cache.c:678:is_mdc_key_satisfied] 0-md-cache: xattr key link- > count > doesn't satisfy caching requirements > [2019-10-07 10:42:02.253140] D [logging.c:2006:_gf_msg_internal] > 0-logging-infra: Buffer overflow of a buffer whose size limit is 5. > About to flush least recently used log message to disk > The message "T [MSGID: 0] [md-cache.c:678:is_mdc_key_satisfied] > 0-md-cache: xattr key link-count doesn't satisfy caching > requirements" > repeated 4 times between [2019-10-07 10:42:02.253056] and [2019-10-07 > 10:42:02.253131] > [2019-10-07 10:42:02.253138] T [MSGID: 0] > [md-cache.c:792:mdc_inode_xatt_set] 0-md-cache: xatt cache set for > (00000000-0000-0000-0000-000000000001) time:1570444922I don't see any ERROR log entries but just TRACE and DEBUG messages. Please provide the output of `gluster volume info <VOLNAME>`.