[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-relays] Tor relay dying in FreeBSD



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