[tor-relays] Tor relay dying in FreeBSD
Farid Joubbi
joubbi at kth.se
Thu Jul 13 16:47:20 UTC 2017
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 at lists.torproject.org> on behalf of Alexander Nasonov <alnsn at yandex.ru>
Sent: 13 July 2017 00:46
To: tor-relays at 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 at lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
More information about the tor-relays
mailing list