Re: [Samba] samba-tool ntacl sysvolcheck -> Too many open files
- Date: Mon, 30 Apr 2018 09:01:07 +0200
- From: "L.P.H. van Belle via samba" <samba@xxxxxxxxxxxxxxx>
- Subject: 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.
This is handy to have.
To unsubscribe from this list go to the following URL and read the