[Samba] Samba slow browsing/access

Dante Colo dante.colo at stwbrasil.com
Tue Oct 7 23:06:04 MDT 2014


Hello everyone 

I'm currently running samba 4.0.21 on classic pdc role mode under FreeBSD 10.0 (RELEASE-p9) , most of shares are located in a ZFS volume with NFSv4 acls using vfs_zfsacl, file and folder browsing become gradative slower , when i open a share or folder especially the huge ones it takes some time to list everything and some times doesn't show anything, also sporadically some smbd processes overload the CPU , running Samba under debug mode appears the messages bellow many times, but it's not so clear for me what does it means, could someone help me ? 


[2014/10/08 01:44:51.194662, 10, pid=25525, effective(1248, 1012), real(0, 0)] [2014/10/08 01:44:51.194696, 10, pid=25524, effective(1248, 1012), real(0, 0), class=acls] share_conflict: [4] sa (0x7) & share (0x1) = 0x1 
[2014/10/08 01:44:51.194805, 10, pid=25525, effective(1248, 1012), real(0, 0)] [2014/10/08 01:44:51.194827, 10, pid=25524, effective(1248, 1012), real(0, 0), class=acls] share_conflict: [5] am (0x100081) & right (0x10000) = 0x0 
[2014/10/08 01:44:51.194949, 10, pid=25525, effective(1248, 1012), real(0, 0)] [2014/10/08 01:44:51.194975, 10, pid=25524, effective(1248, 1012), real(0, 0), class=acls] share_conflict: [5] sa (0x7) & share (0x4) = 0x4 
[2014/10/08 01:44:51.195109, 10, pid=25525, effective(1248, 1012), real(0, 0)] share_conflict: [6] am (0x100081) & right (0x10000) = 0x0 
share_conflict: [6] sa (0x7) & share (0x4) = 0x4 
share_conflict: No conflict. 
[2014/10/08 01:44:51.341157, 10, pid=25524, effective(1248, 1012), real(0, 0)] share_conflict: entry->access_mask = 0x100080, entry->share_access = 0x0, entry->private_options = 0x0 
[2014/10/08 01:44:51.341223, 10, pid=25524, effective(1248, 1012), real(0, 0)] share_conflict: access_mask = 0x100081, share_access = 0x7 
[2014/10/08 01:44:51.341284, 10, pid=25524, effective(1248, 1012), real(0, 0)] share_conflict: No conflict due to entry->access_mask = 0x100080 
[2014/10/08 01:44:51.386967, 10, pid=25524, effective(1248, 1012), real(0, 0)] share_conflict: entry->access_mask = 0x100080, entry->share_access = 0x0, entry->private_options = 0x0 


Regards 
Dante F. B. Colò 


More information about the samba mailing list