Web lists-archives.com

Re: [Samba] samba-tool ntacl sysvolcheck -> Too many open files




     
>     16384                16384                files
> 
> However, if I run samba-tools ntacl sysvolcheck or reset, 
> they are using system default (Soft Limit 1024) and 
> sysvolcheck failed (not sysvolreset)
> 
> A quick solution is to run "ulimit -n 16384 && samba-tool 
> ntacl sysvolcheck"
> A deeper solution will be to play with 
> /etc/security/limits.conf or other....
> 

In addiction to above, there are some systemd systems which might not use the /etc/security/limits.conf correctly.
For these, edit the systemd service file(s) 
systemctl edit name.service   ( which created the override file in /etc/systemd/system/name.service.d/override.conf _ 
systemctl edit --full name.service   ( which created the copy of the file in /etc/systemd/system/ ) 

And add whats needed. 

[Service]
LimitNOFILE=8192:16384


This is handy to have. 


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba