Zentyal Forum, Linux Small Business Server
Zentyal Server => Directory and Authentication => Topic started by: johan.badenhorst on January 06, 2020, 08:46:55 am
-
Since the upgrade to Zentyal 6.1.2 I noticed a very high CPU usage by samba
Any idea what may be causing this?
-
:)
There isn't any reason for it. Usually, it's due to the log level defined for the vfs audit. https://www.samba.org/samba/docs/current/man-html/vfs_full_audit.8.html (https://www.samba.org/samba/docs/current/man-html/vfs_full_audit.8.html)
You can check your log level with the samba testparm tool or viewing your smb.conf file:
...
force create mode = 0660
force directory mode = 0660
path = /home/samba/shares/test
valid users = "@Domain Users"
vfs objects = acl_xattr full_audit
write list = "@Domain Users"
full_audit:failure = connect opendir disconnect unlink mkdir rmdir open rename
Remeber that you don't have to modify this file directly, but through the zentyal templates (read this: https://doc.zentyal.org/en/appendix-c.html#stubs (https://doc.zentyal.org/en/appendix-c.html#stubs))
Cheers!