Thanks for pointing me in the right direction!
The 128M for daemon processes was too low.
I added this in /etc/login.conf:
_tor:\
:memorylocked=unlimited:\
:tc=default:
The warnings are gone and the process is not dying anymore.
Maybe I should tinker and find a value better than unlimited...
________________________________________
From: tor-relays <[email protected]> on behalf of
Alexander Nasonov <[email protected]>
Sent: 13 July 2017 00:46
To: [email protected]
Subject: Re: [tor-relays] Tor relay dying in FreeBSD
Farid Joubbi wrote:
> Jul 12 23:44:24.672 [warn] You appear to lack permissions to change memory
> limits. Are you root?
> Jul 12 23:44:24.672 [warn] Unable to raise RLIMIT_MEMLOCK: Operation not
> permitted
Read about login classes. Starting points:
man login.conf
man cap_mkdb
man chfn
--
Alex
_______________________________________________
tor-relays mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
_______________________________________________
tor-relays mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays