Wednesday, May 22, 2019

Samba rlimit on OpenBSD 6.5

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi, all.

How resolve 'rlimit' in Samba on OpenBSD 6.5?

$ testparm

rlimit_max: increasing rlimit_max (512) to minimum Windows limit (16384)
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (512) to minimum Windows limit (16384)
(...)

However:
$ grep kern.maxfiles /etc/sysctl.conf
kern.maxfiles=16384
$ tail -n8 /etc/login.conf
samba:\
:openfiles=1024:\
:openfiles-max=16384:\
:tc=daemon:
(...)

Machine rebooted after!

One idea?

- --
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<
- ----
<me>Stephane HUC as PengouinBSD or CIOTBSD</me>
<mail>bsd@stephane-huc.net</mail>
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQScTRXz7kMlZfGpDZMTq98t3AMG7wUCXOUEPwAKCRATq98t3AMG
73ajAQDqmDmHZF32h5tJtX09o435f7maaSjj7AAMjZUiYJeZEQD/clne4QIVi6A1
NkTv78Wx04tLjE+U5b/m9x9XLD35Pgg=
=+Zjs
-----END PGP SIGNATURE-----

No comments:

Post a Comment