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 tor-relays-bounces@lists.torproject.org on behalf of Alexander Nasonov alnsn@yandex.ru Sent: 13 July 2017 00:46 To: tor-relays@lists.torproject.org 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 tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays